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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/CachedDisplayItem.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/CachedDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/CachedDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/CachedDisplayItem.h
index 1e4dfa00e68902ec18f002992859d46ea010dcdf..1cdc4369c8b71739a8d7438bb448457873749132 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/CachedDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/CachedDisplayItem.h
@@ -23,7 +23,7 @@ public:
private:
// CachedDisplayItem is never replayed or appended to WebDisplayItemList.
- void replay(GraphicsContext&) final { ASSERT_NOT_REACHED(); }
+ void replay(GraphicsContext&) const final { ASSERT_NOT_REACHED(); }
void appendToWebDisplayItemList(WebDisplayItemList*) const final { ASSERT_NOT_REACHED(); }
};

Powered by Google App Engine
This is Rietveld 408576698