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

Unified Diff: Source/core/paint/ViewDisplayListTest.cpp

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
« no previous file with comments | « Source/core/paint/DrawingRecorderTest.cpp ('k') | Source/platform/graphics/paint/CachedDisplayItem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/ViewDisplayListTest.cpp
diff --git a/Source/core/paint/ViewDisplayListTest.cpp b/Source/core/paint/ViewDisplayListTest.cpp
index 2013dfd499eee3a419c69022ca0a4b2d63dd6d2c..c456889c28fc227f7b259e26eae6fdf08f5fe3f3 100644
--- a/Source/core/paint/ViewDisplayListTest.cpp
+++ b/Source/core/paint/ViewDisplayListTest.cpp
@@ -46,6 +46,9 @@ public:
virtual void replay(GraphicsContext*) override final { ASSERT_NOT_REACHED(); }
virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override final { ASSERT_NOT_REACHED(); }
+#ifndef NDEBUG
+ virtual const char* name() const override final { return "Test"; }
+#endif
};
#define EXPECT_DISPLAY_LIST(actual, expectedSize, ...) { \
« no previous file with comments | « Source/core/paint/DrawingRecorderTest.cpp ('k') | Source/platform/graphics/paint/CachedDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698