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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.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/DisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
index 8084dd77b7e2570ae9959b6c6046a83d649d50b1..f7f089051fd3e46ba264477d375a8bcc19f4a165 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
@@ -246,7 +246,7 @@ public:
return Id(m_client, nonCachedType(m_type), m_scope);
}
- virtual void replay(GraphicsContext&) { }
+ virtual void replay(GraphicsContext&) const { }
DisplayItemClient client() const { return m_client; }
Type type() const { return m_type; }

Powered by Google App Engine
This is Rietveld 408576698