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

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

Issue 794323004: Emit dummy display item when recorded picture is empty (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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/FilterDisplayItem.h
diff --git a/Source/platform/graphics/paint/FilterDisplayItem.h b/Source/platform/graphics/paint/FilterDisplayItem.h
index 87424c560adef739fcdc19e974509452eff9948b..2a03b4c0d7eba34caa970406e2a8dc6c1e440767 100644
--- a/Source/platform/graphics/paint/FilterDisplayItem.h
+++ b/Source/platform/graphics/paint/FilterDisplayItem.h
@@ -29,6 +29,7 @@ protected:
private:
#ifndef NDEBUG
+ virtual const char* name() const override { return "BeginFilter"; }
virtual void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override;
#endif
@@ -46,6 +47,11 @@ public:
protected:
EndFilterDisplayItem(DisplayItemClient client)
: DisplayItem(client, EndFilter) { }
+
+private:
+#ifndef NDEBUG
+ virtual const char* name() const override { return "EndFilter"; }
+#endif
};
}
« no previous file with comments | « Source/platform/graphics/paint/DrawingRecorder.cpp ('k') | Source/platform/graphics/paint/TransformDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698