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

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

Issue 2230513005: Move visual rect unioning between paired items to cc::DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review feedback. Created 4 years, 4 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: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
index be857e6cee834c92ca4efcccbee1a8d48bc873cd..cf38fc4cc47b0865c5094d5c45dc7699c1c55b40 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
@@ -240,6 +240,8 @@ public:
void setSkippedCache() { m_skippedCache = true; }
bool skippedCache() const { return m_skippedCache; }
+ // TODO(wkorman): Only DrawingDisplayItem needs the visual rect argument.
+ // Consider refactoring class hierarchy to make this more explicit.
virtual void appendToWebDisplayItemList(const IntRect&, WebDisplayItemList*) const { }
// See comments of enum Type for usage of the following macros.

Powered by Google App Engine
This is Rietveld 408576698