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

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

Issue 946423002: Separate Transform3D display item types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/graphics/paint/DisplayItem.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/paint/Transform3DDisplayItem.h
diff --git a/Source/platform/graphics/paint/Transform3DDisplayItem.h b/Source/platform/graphics/paint/Transform3DDisplayItem.h
index 6afce87a1b16f06939a860acc0a6e96a44d3953c..62bbf1cce860fb82ff01bbfec40345f715532ebc 100644
--- a/Source/platform/graphics/paint/Transform3DDisplayItem.h
+++ b/Source/platform/graphics/paint/Transform3DDisplayItem.h
@@ -20,7 +20,7 @@ public:
}
BeginTransform3DDisplayItem(DisplayItemClient client, const TransformationMatrix& transform)
- : PairedBeginDisplayItem(client, BeginTransform)
+ : PairedBeginDisplayItem(client, BeginTransform3D)
, m_transform(transform) { }
virtual void replay(GraphicsContext*) override;
@@ -40,15 +40,14 @@ public:
}
EndTransform3DDisplayItem(DisplayItemClient client)
- : PairedEndDisplayItem(client, EndTransform) { }
+ : PairedEndDisplayItem(client, EndTransform3D) { }
virtual void replay(GraphicsContext*) override;
virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override;
private:
#if ENABLE(ASSERT)
- // FIXME: Distinguish BeginTransformDisplayItem and BeginTransform3DDisplayItem.
- virtual bool isEndAndPairedWith(const DisplayItem& other) const override final { return other.type() == BeginTransform; }
+ virtual bool isEndAndPairedWith(const DisplayItem& other) const override final { return other.type() == BeginTransform3D; }
#endif
};
« no previous file with comments | « Source/platform/graphics/paint/DisplayItem.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698