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

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

Issue 2334113002: Let slimmingPaintInvalidation plumbing work for spv1 (Closed)
Patch Set: - Created 4 years, 3 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
Index: third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
index bda1b08750901d19c77405935a8e6586670a57fb..d61e401ef28ecdcfb032ea4fa85d80dd354f6b01 100644
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
@@ -52,6 +52,8 @@ PaintInvalidationState::PaintInvalidationState(const LayoutView& layoutView, Vec
, m_canCheckFastPathSlowPathEquality(layoutView == m_paintInvalidationContainer)
#endif
{
+ DCHECK(!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled());
+
if (!supportsCachedOffsets(layoutView)) {
m_cachedOffsetsEnabled = false;
return;
@@ -86,6 +88,7 @@ PaintInvalidationState::PaintInvalidationState(const PaintInvalidationState& par
, m_canCheckFastPathSlowPathEquality(parentState.m_canCheckFastPathSlowPathEquality)
#endif
{
+ DCHECK(!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled());
DCHECK(&m_paintingLayer == currentObject.paintingLayer());
if (currentObject == parentState.m_currentObject) {

Powered by Google App Engine
This is Rietveld 408576698