summaryrefslogtreecommitdiffstats
path: root/layout/base
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-29 23:20:36 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-29 23:20:36 +0200
commit81b341a9b37acae2b60e0334a9b0846bc5be8445 (patch)
treeb998e480ac1971ea93101510438ba1e87d9db82a /layout/base
parentddf29811b2d95bdf8385b9eb85519332b69344ca (diff)
downloadUXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.tar
UXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.tar.gz
UXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.tar.lz
UXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.tar.xz
UXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.zip
Clean up a number of unused variables.
Tag #21.
Diffstat (limited to 'layout/base')
-rw-r--r--layout/base/nsLayoutUtils.cpp1
-rw-r--r--layout/base/nsPresShell.cpp5
2 files changed, 0 insertions, 6 deletions
diff --git a/layout/base/nsLayoutUtils.cpp b/layout/base/nsLayoutUtils.cpp
index d0f790a0b..c1f4ad372 100644
--- a/layout/base/nsLayoutUtils.cpp
+++ b/layout/base/nsLayoutUtils.cpp
@@ -3423,7 +3423,6 @@ nsLayoutUtils::PaintFrame(nsRenderingContext* aRenderingContext, nsIFrame* aFram
return NS_OK;
}
- TimeStamp startBuildDisplayList = TimeStamp::Now();
nsDisplayListBuilder builder(aFrame, aBuilderMode,
!(aFlags & PaintFrameFlags::PAINT_HIDE_CARET));
if (aFlags & PaintFrameFlags::PAINT_IN_TRANSFORM) {
diff --git a/layout/base/nsPresShell.cpp b/layout/base/nsPresShell.cpp
index 88539dc4a..340042b46 100644
--- a/layout/base/nsPresShell.cpp
+++ b/layout/base/nsPresShell.cpp
@@ -1111,10 +1111,6 @@ PresShell::Destroy()
LogTextPerfStats(tp, this, tp->cumulative, 0.0, eLog_totals, nullptr);
}
}
- if (mPresContext) {
- const bool mayFlushUserFontSet = false;
- gfxUserFontSet* fs = mPresContext->GetUserFontSet(mayFlushUserFontSet);
- }
#ifdef MOZ_REFLOW_PERF
DumpReflows();
@@ -9409,7 +9405,6 @@ PresShell::ProcessReflowCommands(bool aInterruptible)
return true;
}
- mozilla::TimeStamp timerStart = mozilla::TimeStamp::Now();
bool interrupted = false;
if (!mDirtyRoots.IsEmpty()) {