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

Unified Diff: Source/platform/graphics/paint/Transform3DDisplayItem.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/Transform3DDisplayItem.h
diff --git a/Source/platform/graphics/paint/Transform3DDisplayItem.h b/Source/platform/graphics/paint/Transform3DDisplayItem.h
index a45fdad85b2c47ba34e951f7e8f3c71132d01656..0da46241de9dc02f44311b9b9448bb66c58e78c6 100644
--- a/Source/platform/graphics/paint/Transform3DDisplayItem.h
+++ b/Source/platform/graphics/paint/Transform3DDisplayItem.h
@@ -56,9 +56,9 @@ public:
private:
#if ENABLE(ASSERT)
- virtual bool isEndAndPairedWith(const DisplayItem& other) const override final
+ virtual bool isEndAndPairedWith(DisplayItem::Type otherType) const override final
{
- return DisplayItem::transform3DTypeToEndTransform3DType(other.type()) == type();
+ return DisplayItem::transform3DTypeToEndTransform3DType(otherType) == type();
}
#endif
};

Powered by Google App Engine
This is Rietveld 408576698