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

Unified Diff: Source/platform/graphics/paint/CachedDisplayItem.h

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
« no previous file with comments | « Source/core/paint/TransformRecorder.cpp ('k') | Source/platform/graphics/paint/ClipDisplayItem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/paint/CachedDisplayItem.h
diff --git a/Source/platform/graphics/paint/CachedDisplayItem.h b/Source/platform/graphics/paint/CachedDisplayItem.h
index ac8390102cd2f1e6eacc1007e26010a710890b36..2734bc9f1b7cfea1bb621a7f9de629e7ccab33ca 100644
--- a/Source/platform/graphics/paint/CachedDisplayItem.h
+++ b/Source/platform/graphics/paint/CachedDisplayItem.h
@@ -14,20 +14,7 @@ namespace blink {
// the DisplayItem has not been changed and should be replaced with the cached DisplayItem
// when merging new paint list to cached paint list.
class PLATFORM_EXPORT CachedDisplayItem : public DisplayItem {
- WTF_MAKE_FAST_ALLOCATED(CachedDisplayItem);
-public:
- static PassOwnPtr<CachedDisplayItem> create(const DisplayItemClientWrapper& client, Type type)
- {
- return adoptPtr(new CachedDisplayItem(client, type));
- }
-
private:
- CachedDisplayItem(const DisplayItemClientWrapper& client, Type type)
- : DisplayItem(client, type)
- {
- ASSERT(isCachedType(type));
- }
-
// CachedDisplayItem is never replayed or appended to WebDisplayItemList.
virtual void replay(GraphicsContext&) override final { ASSERT_NOT_REACHED(); }
virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override final { ASSERT_NOT_REACHED(); }
« no previous file with comments | « Source/core/paint/TransformRecorder.cpp ('k') | Source/platform/graphics/paint/ClipDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698