Bug 761034. Backout patch for bug 610713 since it didn't fix anything and caused regressions. r=bas

This commit is contained in:
Robert O'Callahan 2012-06-24 01:08:12 +12:00
parent f989c459b3
commit 5be552f376

View File

@ -3157,8 +3157,7 @@ nsWindow::GetLayerManager(PLayersChild* aShadowManager,
if (eTransparencyTransparent == mTransparencyMode ||
prefs.mDisableAcceleration ||
windowRect.right - windowRect.left > MAX_ACCELERATED_DIMENSION ||
windowRect.bottom - windowRect.top > MAX_ACCELERATED_DIMENSION ||
mWindowType == eWindowType_popup)
windowRect.bottom - windowRect.top > MAX_ACCELERATED_DIMENSION)
mUseAcceleratedRendering = false;
else if (prefs.mAccelerateByDefault)
mUseAcceleratedRendering = true;