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

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

Issue 924533006: Don't remove empty display item pairs that draw content (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments Created 5 years, 10 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: Source/platform/graphics/paint/DisplayItem.h
diff --git a/Source/platform/graphics/paint/DisplayItem.h b/Source/platform/graphics/paint/DisplayItem.h
index e68a3c5efda8d5d58d5465f70760df29db69cb93..03f76201a097841b49b634dc5c203578b4903a31 100644
--- a/Source/platform/graphics/paint/DisplayItem.h
+++ b/Source/platform/graphics/paint/DisplayItem.h
@@ -234,6 +234,8 @@ public:
virtual bool isEndAndPairedWith(const DisplayItem& other) const { return false; }
#endif
+ virtual bool drawsContent() const { return false; }
+
#ifndef NDEBUG
static WTF::String typeAsDebugString(DisplayItem::Type);
« no previous file with comments | « LayoutTests/css3/filters/empty-element-with-filter-expected.html ('k') | Source/platform/graphics/paint/DisplayItemList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698