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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintChunker.cpp

Issue 2573883002: Refactor PaintChunkProperties to use PropertyTreeState (Closed)
Patch Set: none Created 4 years 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/platform/graphics/paint/PaintChunker.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.cpp
index c4f087aa853f5d02c1edbc12f71591d18fe7d2d3..145f931922d7ef0ee9923325fd3a9202beaff3bf 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.cpp
@@ -38,10 +38,10 @@ bool PaintChunker::incrementDisplayItemIndex(const DisplayItem& item) {
// properties created by a LayoutObject/FrameView, or be set to a non-null
// root node. If these DCHECKs are hit we are missing a call to update the
// properties. See: ScopedPaintChunkProperties.
- DCHECK(m_currentProperties.transform);
- DCHECK(m_currentProperties.clip);
- DCHECK(m_currentProperties.effect);
- DCHECK(m_currentProperties.scroll);
+ DCHECK(m_currentProperties.propertyTreeState.transform());
+ DCHECK(m_currentProperties.propertyTreeState.clip());
+ DCHECK(m_currentProperties.propertyTreeState.effect());
+ DCHECK(m_currentProperties.propertyTreeState.scroll());
}
#endif

Powered by Google App Engine
This is Rietveld 408576698