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

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

Issue 1157653005: Move use of DisplayItemList's vector behind an explicit DisplayItems interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: DisplayItems must be noncopyable (Windows build fix) 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/FloatClipDisplayItem.h
diff --git a/Source/platform/graphics/paint/FloatClipDisplayItem.h b/Source/platform/graphics/paint/FloatClipDisplayItem.h
index e1e0c7df178b7d848da93f6cfb04ccb74a2d89d5..9aa0a866f4030b20d76e161964d14aba49b3ba0a 100644
--- a/Source/platform/graphics/paint/FloatClipDisplayItem.h
+++ b/Source/platform/graphics/paint/FloatClipDisplayItem.h
@@ -59,7 +59,7 @@ public:
private:
#if ENABLE(ASSERT)
- virtual bool isEndAndPairedWith(const DisplayItem& other) const override final { return other.isFloatClip(); }
+ virtual bool isEndAndPairedWith(DisplayItem::Type otherType) const override final { return DisplayItem::isFloatClipType(otherType); }
#endif
};

Powered by Google App Engine
This is Rietveld 408576698