зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1283302: Sets the default value for nglayout.initialpaint.delay to 5ms on desktop (stays 250 ms on Android) per user research conclusions. r=tn
MozReview-Commit-ID: LWfmMoBcbnL
This commit is contained in:
Родитель
2b79998809
Коммит
246805dcfd
|
@ -67,9 +67,13 @@ typedef nsClassHashtable<nsUint64HashKey, mozilla::CSSIntRegion> VisibleRegions;
|
|||
|
||||
} // namespace mozilla
|
||||
|
||||
// 250ms. This is actually pref-controlled, but we use this value if we fail
|
||||
// This is actually pref-controlled, but we use this value if we fail
|
||||
// to get the pref for any reason.
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
#define PAINTLOCK_EVENT_DELAY 250
|
||||
#else
|
||||
#define PAINTLOCK_EVENT_DELAY 5
|
||||
#endif
|
||||
|
||||
class PresShell final : public nsIPresShell,
|
||||
public nsStubDocumentObserver,
|
||||
|
|
Загрузка…
Ссылка в новой задаче