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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.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/ClipPathDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
index fe48e3062119f53a46f76dcf48308ee90d7cd0e6..7160d605f8545b339ac4866c977ce0ce4a8988f8 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
@@ -19,7 +19,7 @@ public:
: PairedBeginDisplayItem(client, BeginClipPath, sizeof(*this))
, m_clipPath(clipPath.skPath()) { }
- void replay(GraphicsContext&) override;
+ void replay(GraphicsContext&) const override;
void appendToWebDisplayItemList(WebDisplayItemList*) const override;
private:
@@ -41,7 +41,7 @@ public:
EndClipPathDisplayItem(const DisplayItemClientWrapper& client)
: PairedEndDisplayItem(client, EndClipPath, 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