Bug 963771. Remove code accidentally landed that was only ever intended for local debugging.
This commit is contained in:
@@ -2400,7 +2400,7 @@ ScrollFrameHelper::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
|||||||
// document.
|
// document.
|
||||||
// If the element is marked 'scrollgrab', also force building of a layer
|
// If the element is marked 'scrollgrab', also force building of a layer
|
||||||
// so that APZ can implement scroll grabbing.
|
// 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;
|
bool shouldBuildLayer = false;
|
||||||
if (mShouldBuildScrollableLayer) {
|
if (mShouldBuildScrollableLayer) {
|
||||||
shouldBuildLayer = true;
|
shouldBuildLayer = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user