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.
|
||||
// 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;
|
||||
|
||||
Reference in New Issue
Block a user