Commit 3187513a authored by Nicolas Silva's avatar Nicolas Silva
Browse files

Bug 751370 - Disables layers acceleration for small popups like menus and combo boxes. r=BenWa

parent b99f5852
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -820,7 +820,7 @@ nsBaseWidget::GetShouldAccelerate()
#endif

  // we should use AddBoolPrefVarCache
  bool disableAcceleration =
  bool disableAcceleration = (mWindowType == eWindowType_popup) || 
    Preferences::GetBool("layers.acceleration.disabled", false);
  mForceLayersAcceleration =
    Preferences::GetBool("layers.acceleration.force-enabled", false);