Index: third_party/WebKit/Source/core/layout/PaintInvalidationState.h |
diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h |
index 50e2c73af7a956593bbb2dd1249514a41daf35b7..196cbf9b3d6af364571960c31cd6a1890073446b 100644 |
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h |
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h |
@@ -142,6 +142,15 @@ private: |
#if ENABLE(ASSERT) |
bool m_didUpdateForChildren; |
#endif |
+ |
+#if ENABLE(ASSERT) && !defined(NDEBUG) |
+// #define CHECK_FAST_PATH_SLOW_PATH_EQUALITY |
+#endif |
+ |
+#ifdef CHECK_FAST_PATH_SLOW_PATH_EQUALITY |
+ void assertFastPathAndSlowPathRectsEqual(const LayoutRect& fastPathRect, const LayoutRect& slowPathRect) const; |
+ bool m_canCheckFastPathSlowPathEquality; |
+#endif |
}; |
} // namespace blink |