mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1204535 - Remove no-op code. r=tn
This commit is contained in:
parent
97eba6dedd
commit
57bb115d9f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user