Backed out changeset ff60dd49591d (
bug 1283302) for linux64 debug reftest failures a=backout
--- 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>;