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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.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/ScrollDisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.cpp
index d8f33504c81ac3d90c5e5e49290764d468c1912a..e310fb8dbb4a86a94508d84d10acb855438f53ed 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.cpp
@@ -19,7 +19,7 @@ void BeginScrollDisplayItem::replay(GraphicsContext& context) const
void BeginScrollDisplayItem::appendToWebDisplayItemList(const IntRect& visualRect, WebDisplayItemList* list) const
{
WebDisplayItemList::ScrollContainerId scrollContainerId = &client();
- list->appendScrollItem(visualRect, m_currentOffset, scrollContainerId);
+ list->appendScrollItem(m_currentOffset, scrollContainerId);
}
#ifndef NDEBUG
@@ -37,7 +37,7 @@ void EndScrollDisplayItem::replay(GraphicsContext& context) const
void EndScrollDisplayItem::appendToWebDisplayItemList(const IntRect& visualRect, WebDisplayItemList* list) const
{
- list->appendEndScrollItem(visualRect);
+ list->appendEndScrollItem();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698