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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h

Issue 1394313002: Make DisplayItem::replay const. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
index e29248d97a11d092064e628a98f6348a81c519d6..b2fc94712a0e1ce005ce0a089a97b2c00e4c8129 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
@@ -17,7 +17,7 @@ public:
: PairedBeginDisplayItem(client, BeginTransform, sizeof(*this))
, m_transform(transform) { }
- void replay(GraphicsContext&) override;
+ void replay(GraphicsContext&) const override;
void appendToWebDisplayItemList(WebDisplayItemList*) const override;
const AffineTransform& transform() const { return m_transform; }
@@ -42,7 +42,7 @@ public:
EndTransformDisplayItem(const DisplayItemClientWrapper& client)
: PairedEndDisplayItem(client, EndTransform, sizeof(*this)) { }
- void replay(GraphicsContext&) override;
+ void replay(GraphicsContext&) const override;
void appendToWebDisplayItemList(WebDisplayItemList*) const override;
private:

Powered by Google App Engine
This is Rietveld 408576698