зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1204535 - Remove no-op code. r=tn
--HG-- extra : commitid : drdQpuWED0
This commit is contained in:
Родитель
ea934017d9
Коммит
4944ac2606
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче