bug 1454529 - set nglayout.initialpaint.delay to 5m globally. Removing the Android ifdef. draft
authorKevin Brosnan <kbrosnan@mozilla.com>
Mon, 16 Apr 2018 19:18:12 -0700
changeset 783351 d5cf106328c7a0366585c076568f56cb4f3ba828
parent 783258 0ceabd10aac2272e83850e278c7876f32dbae42e
push id106677
push userbmo:kbrosnan@mozilla.com
push dateTue, 17 Apr 2018 02:18:37 +0000
bugs1454529
milestone61.0a1
bug 1454529 - set nglayout.initialpaint.delay to 5m globally. Removing the Android ifdef. MozReview-Commit-ID: LuMbjlm98Ts
layout/base/PresShell.h
--- a/layout/base/PresShell.h
+++ b/layout/base/PresShell.h
@@ -55,21 +55,17 @@ class Selection;
 class EventDispatchingCallback;
 
 // A set type for tracking visible frames, for use by the visibility code in
 // PresShell. The set contains nsIFrame* pointers.
 typedef nsTHashtable<nsPtrHashKey<nsIFrame>> VisibleFrames;
 
 // 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 nsISelectionController,
                         public nsIObserver,
                         public nsSupportsWeakReference
 {
   typedef layers::FocusTarget FocusTarget;