Bug 1252929 - Change default layers.max-active to 3 on nightly. r=snorp

This commit is contained in:
Milan Sreckovic 2016-03-07 16:14:39 -06:00 коммит произвёл James Willcox
Родитель fa8cc9f344
Коммит 57a7ffae7d
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -611,7 +611,12 @@ pref("layers.low-precision-opacity", "1.0");
// 2) Pages that have too many layers consume too much memory and crash.
// By limiting the number of layers on mobile we're making the main thread
// work harder keep scrolling smooth and memory low.
#ifdef NIGHTLY_BUILD
// Temporary experiment
pref("layers.max-active", 3);
#else
pref("layers.max-active", 20);
#endif
pref("notification.feature.enabled", true);
pref("dom.webnotifications.enabled", true);