Bug 1204535 - Remove no-op code. r=tn

This commit is contained in:
Kartikaya Gupta 2015-09-15 16:09:35 -04:00
parent 97eba6dedd
commit 57bb115d9f

View File

@ -2903,13 +2903,6 @@ ScrollFrameHelper::BuildDisplayList(nsDisplayListBuilder* aBuilder,
*aBuilder, mOuter, displayportBase, &displayPort);
}
bool usingLowPrecision = gfxPrefs::UseLowPrecisionBuffer();
if (usingDisplayport && usingLowPrecision) {
// If we have low-res painting enabled we should check the critical displayport too
nsRect critDp;
nsLayoutUtils::GetCriticalDisplayPort(mOuter->GetContent(), &critDp);
}
// Override the dirty rectangle if the displayport has been set.
if (usingDisplayport) {
dirtyRect = displayPort;