Bug 963771. Remove code accidentally landed that was only ever intended for local debugging.

This commit is contained in:
Timothy Nikkel
2014-01-26 16:50:31 -06:00
parent b1d7ca036c
commit 0cf9ee61d4

View File

@@ -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;