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

Unified Diff: Source/platform/graphics/paint/DrawingRecorder.cpp

Issue 1203343002: WIP for display item list backed by ListContainer Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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: Source/platform/graphics/paint/DrawingRecorder.cpp
diff --git a/Source/platform/graphics/paint/DrawingRecorder.cpp b/Source/platform/graphics/paint/DrawingRecorder.cpp
index c697e0b531344892b760bb0fd1407bbd410f18af..e6d1b32d06659b4f5d91f0ad84a111b86fb16cf9 100644
--- a/Source/platform/graphics/paint/DrawingRecorder.cpp
+++ b/Source/platform/graphics/paint/DrawingRecorder.cpp
@@ -91,16 +91,17 @@ DrawingRecorder::~DrawingRecorder()
m_displayItemClient.debugName().utf8().data());
}
#endif
- m_context.displayItemList()->add(CachedDisplayItem::create(m_displayItemClient, DisplayItem::drawingTypeToCachedType(m_displayItemType)));
+ //m_context.displayItemList()->add(CachedDisplayItem::create(m_displayItemClient, DisplayItem::drawingTypeToCachedType(m_displayItemType)));
} else {
- OwnPtr<DrawingDisplayItem> drawingDisplayItem = DrawingDisplayItem::create(m_displayItemClient
- , m_displayItemType
- , m_context.endRecording()
-#if ENABLE(ASSERT)
- , m_underInvalidationCheckingMode
-#endif
- );
- m_context.displayItemList()->add(drawingDisplayItem.release());
+ ALLOW_UNUSED_LOCAL(m_displayItemType);
+// OwnPtr<DrawingDisplayItem> drawingDisplayItem = DrawingDisplayItem::create(m_displayItemClient
+// , m_displayItemType
+// , m_context.endRecording()
+//#if ENABLE(ASSERT)
+// , m_underInvalidationCheckingMode
+//#endif
+// );
+// m_context.displayItemList()->add(drawingDisplayItem.release());
}
}
« no previous file with comments | « Source/platform/graphics/paint/DrawingDisplayItem.h ('k') | Source/platform/graphics/paint/FilterDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698