Bug 963771. Remove code accidentally landed that was only ever intended for local debugging.
authorTimothy Nikkel <tnikkel@gmail.com>
Sun, 26 Jan 2014 16:50:31 -0600
changeset 182279 72bcdad2b539a318d0370b06f7c19a46a495c171
parent 182278 39ca54c48ec46cc33a2abe2514246a48275527c7
child 182280 0a9af08f037f326c5322779a8adb881aaa0ba0eb
push id462
push userraliiev@mozilla.com
push dateTue, 22 Apr 2014 00:22:30 +0000
treeherdermozilla-release@ac5db8c74ac0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs963771
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 963771. Remove code accidentally landed that was only ever intended for local debugging.
layout/generic/nsGfxScrollFrame.cpp
--- a/layout/generic/nsGfxScrollFrame.cpp
+++ b/layout/generic/nsGfxScrollFrame.cpp
@@ -2395,17 +2395,17 @@ ScrollFrameHelper::BuildDisplayList(nsDi
   // if the area is scrollable and we're the content process (unless we're on
   // B2G, where we support async scrolling for scrollable elements in the
   // parent process as well).
   // When a displayport is being used, force building of a layer so that
   // CompositorParent can always find the scrollable layer for the root content
   // document.
   // If the element is marked 'scrollgrab', also force building of a layer
   // so that APZ can implement scroll grabbing.
-  mShouldBuildScrollableLayer = usingDisplayport || nsContentUtils::HasScrollgrab(mOuter->GetContent()) || !mOuter->PresContext()->IsChrome();
+  mShouldBuildScrollableLayer = usingDisplayport || nsContentUtils::HasScrollgrab(mOuter->GetContent());
   bool shouldBuildLayer = false;
   if (mShouldBuildScrollableLayer) {
     shouldBuildLayer = true;
   } else {
     nsRect scrollRange = GetScrollRange();
     ScrollbarStyles styles = GetScrollbarStylesFromFrame();
     bool isFocused = IsFocused(mOuter->GetContent());
     bool isVScrollable = (scrollRange.height > 0)