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..19f029d69ec0f1c3b98e93ddd05b2f8b5b409420 100644 |
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h |
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h |
@@ -142,6 +142,12 @@ private: |
#if ENABLE(ASSERT) |
bool m_didUpdateForChildren; |
#endif |
+ |
+#if ENABLE(ASSERT) && !defined(NDEBUG) |
+#define CHECK_FAST_PATH_SLOW_PATH_EQUALITY |
+ void assertFastPathAndSlowPathRectsEqual(const LayoutRect& fastPathRect, const LayoutRect& slowPathRect) const; |
+ bool m_canCheckFastPathSlowPathEquality; |
+#endif |
}; |
} // namespace blink |