Bug 924403. Linux users who had previously opted in to OpenGL get OMTC OpenGL. r=mattwoodrow

This commit is contained in:
Nicholas Cameron 2013-11-27 11:15:17 +13:00
parent f1b0c4184f
commit beebee9b09

View File

@ -2108,7 +2108,13 @@ gfxPlatform::GetPrefLayersAccelerationForceEnabled()
bool gfxPlatform::OffMainThreadCompositionRequired()
{
InitLayersAccelerationPrefs();
#if defined(MOZ_WIDGET_GTK) && defined(NIGHTLY_BUILD)
// Linux users who chose OpenGL are being grandfathered in to OMTC
return sPrefBrowserTabsRemote ||
sPrefLayersAccelerationForceEnabled;
#else
return sPrefBrowserTabsRemote;
#endif
}
bool