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

Unified Diff: Source/platform/graphics/ContentLayerDelegate.cpp

Issue 860563003: Disable display item caching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove beginNewPaints and m_doingNewPaints Created 5 years, 11 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 | « Source/platform/RuntimeEnabledFeatures.in ('k') | Source/platform/graphics/paint/DisplayItemList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/ContentLayerDelegate.cpp
diff --git a/Source/platform/graphics/ContentLayerDelegate.cpp b/Source/platform/graphics/ContentLayerDelegate.cpp
index bbca97980ef99feee1111ea3e70456a338b9de4a..856c20c0bef29c46731e25e581c96918991ac6ff 100644
--- a/Source/platform/graphics/ContentLayerDelegate.cpp
+++ b/Source/platform/graphics/ContentLayerDelegate.cpp
@@ -89,7 +89,7 @@ void ContentLayerDelegate::paintContents(
canvas->restore();
picture = adoptRef(recorder.endRecording());
- ASSERT(m_painter->displayItemList());
+ m_painter->displayItemList()->endNewPaints();
const PaintList& paintList = m_painter->displayItemList()->paintList();
for (PaintList::const_iterator it = paintList.begin(); it != paintList.end(); ++it)
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | Source/platform/graphics/paint/DisplayItemList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698