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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp

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/ClipDisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
index 75a305bfdb9358b3d288b1650c9c7911e3306c71..80a8ebc97251fe4ed21c11d57c35b95161f28c9d 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
@@ -32,7 +32,7 @@ void ClipDisplayItem::appendToWebDisplayItemList(const IntRect& visualRect, WebD
for (size_t i = 0; i < m_roundedRectClips.size(); ++i)
webRoundedRects[i] = m_roundedRectClips[i];
- list->appendClipItem(visualRect, m_clipRect, webRoundedRects);
+ list->appendClipItem(m_clipRect, webRoundedRects);
}
void EndClipDisplayItem::replay(GraphicsContext& context) const
@@ -42,7 +42,7 @@ void EndClipDisplayItem::replay(GraphicsContext& context) const
void EndClipDisplayItem::appendToWebDisplayItemList(const IntRect& visualRect, WebDisplayItemList* list) const
{
- list->appendEndClipItem(visualRect);
+ list->appendEndClipItem();
}
#ifndef NDEBUG

Powered by Google App Engine
This is Rietveld 408576698