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

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

Issue 794323004: Emit dummy display item when recorded picture is empty (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add a missed "override" Created 6 years 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: Source/platform/graphics/paint/ClipDisplayItem.h
diff --git a/Source/platform/graphics/paint/ClipDisplayItem.h b/Source/platform/graphics/paint/ClipDisplayItem.h
index b2df716348be1f16774bd954614ea8ebc772f5cd..237f22b9cc8a5f715d6eece97db1f99c023492a3 100644
--- a/Source/platform/graphics/paint/ClipDisplayItem.h
+++ b/Source/platform/graphics/paint/ClipDisplayItem.h
@@ -30,6 +30,7 @@ protected:
private:
#ifndef NDEBUG
+ virtual const char* name() const override { return "Clip"; }
virtual void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override;
#endif
IntRect m_clipRect;
@@ -45,6 +46,11 @@ public:
protected:
EndClipDisplayItem(DisplayItemClient client) : DisplayItem(client, EndClip) { }
+
+private:
+#ifndef NDEBUG
+ virtual const char* name() const override { return "EndClip"; }
+#endif
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698