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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.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/TransformDisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.cpp
index 0f5d1532af93e748fc810906228cec59ec1d03c7..7a2d3eb76faea1c836cf23e4404941483f4c91b3 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.cpp
@@ -18,7 +18,7 @@ void BeginTransformDisplayItem::replay(GraphicsContext& context) const
void BeginTransformDisplayItem::appendToWebDisplayItemList(const IntRect& visualRect, WebDisplayItemList* list) const
{
- list->appendTransformItem(visualRect, affineTransformToSkMatrix(m_transform));
+ list->appendTransformItem(affineTransformToSkMatrix(m_transform));
}
#ifndef NDEBUG
@@ -37,7 +37,7 @@ void EndTransformDisplayItem::replay(GraphicsContext& context) const
void EndTransformDisplayItem::appendToWebDisplayItemList(const IntRect& visualRect, WebDisplayItemList* list) const
{
- list->appendEndTransformItem(visualRect);
+ list->appendEndTransformItem();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698