Backed out changeset b2b359340a84 (bug 1283302) for causing talos regressions. a=backout
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 15 Nov 2016 15:03:51 -0800
changeset 440015 f99c3a999e81a017ca3f6026b1e75fe4ec31a50a
parent 440014 d986af3df3388f93fda33ab992e1db8b69e167e8
child 440016 665703fd4709373754391d535cb2f0ee82352a68
child 444212 8d8a3ba5349e45bf7a44c4096da2babb4c158e47
push id36143
push userjkingston@mozilla.com
push dateWed, 16 Nov 2016 22:20:38 +0000
reviewersbackout
bugs1283302
milestone52.0a2
backs outb2b359340a84abda881e038d535dd90ac2fa58aa
Backed out changeset b2b359340a84 (bug 1283302) for causing talos regressions. a=backout MozReview-Commit-ID: FloqgtgNZRZ
layout/base/nsPresShell.h
--- a/layout/base/nsPresShell.h
+++ b/layout/base/nsPresShell.h
@@ -62,23 +62,19 @@ typedef nsTHashtable<nsPtrHashKey<nsIFra
 
 // A hash table type for tracking visible regions, for use by the visibility
 // code in PresShell. The mapping is from view IDs to regions in the
 // coordinate system of that view's scrolled frame.
 typedef nsClassHashtable<nsUint64HashKey, mozilla::CSSIntRegion> VisibleRegions;
 
 } // namespace mozilla
 
-// This is actually pref-controlled, but we use this value if we fail
+// 250ms.  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,
                         public nsISelectionController,
                         public nsIObserver,
                         public nsSupportsWeakReference
 {
   template <typename T> using Maybe = mozilla::Maybe<T>;