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

Unified Diff: Source/platform/graphics/paint/TransformDisplayItem.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/TransformDisplayItem.h
diff --git a/Source/platform/graphics/paint/TransformDisplayItem.h b/Source/platform/graphics/paint/TransformDisplayItem.h
index 1420aee09088344da6f42fa4ea5e9413a3990468..86cfd456c5ba0ae6a0c925d78ead29c334fe4e2b 100644
--- a/Source/platform/graphics/paint/TransformDisplayItem.h
+++ b/Source/platform/graphics/paint/TransformDisplayItem.h
@@ -22,6 +22,10 @@ protected:
BeginTransformDisplayItem(DisplayItemClient, const AffineTransform&);
private:
+#ifndef NDEBUG
+ virtual const char* name() const override { return "BeginTransform"; }
+#endif
+
const AffineTransform m_transform;
};
@@ -35,6 +39,11 @@ public:
protected:
EndTransformDisplayItem(DisplayItemClient client)
: DisplayItem(client, EndTransform) { }
+
+private:
+#ifndef NDEBUG
+ virtual const char* name() const override { return "EndTransform"; }
+#endif
};
} // namespace blink
« no previous file with comments | « Source/platform/graphics/paint/FilterDisplayItem.h ('k') | Source/platform/graphics/paint/TransparencyDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698