diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-09-29 23:20:36 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-09-29 23:20:36 +0200 |
commit | 81b341a9b37acae2b60e0334a9b0846bc5be8445 (patch) | |
tree | b998e480ac1971ea93101510438ba1e87d9db82a /layout | |
parent | ddf29811b2d95bdf8385b9eb85519332b69344ca (diff) | |
download | uxp-81b341a9b37acae2b60e0334a9b0846bc5be8445.tar.gz |
Clean up a number of unused variables.
Tag #21.
Diffstat (limited to 'layout')
-rw-r--r-- | layout/base/nsLayoutUtils.cpp | 1 | ||||
-rw-r--r-- | layout/base/nsPresShell.cpp | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/layout/base/nsLayoutUtils.cpp b/layout/base/nsLayoutUtils.cpp index d0f790a0be..c1f4ad3723 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 88539dc4a5..340042b463 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()) { |