Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(632)

Unified Diff: third_party/WebKit/Source/core/layout/PaintInvalidationState.h

Issue 2863483002: Remove CHECK_FAST_PATH_SLOW_PATH_EQUALITY (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 75cee297061b12e5c54070f2beecf0b3e540dddc..4299d2bc31ad86eed94395737db9d97a9b9a4103 100644
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
@@ -172,17 +172,6 @@ class CORE_EXPORT PaintInvalidationState {
#if DCHECK_IS_ON()
bool did_update_for_children_ = false;
#endif
-
-#if DCHECK_IS_ON() && !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
};
// This is temporary to adapt legacy PaintInvalidationState to
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698