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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.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/Transform3DDisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.cpp
index a21519a8bdaba87bfc37c2c6228c1507f49f7147..3fa5233949c5359ab83ca473345ff1b989c16a75 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.cpp
@@ -23,7 +23,7 @@ void BeginTransform3DDisplayItem::appendToWebDisplayItemList(const IntRect& visu
// TODO(jbroman): The compositor will need the transform origin separately.
TransformationMatrix transform(m_transform);
transform.applyTransformOrigin(m_transformOrigin);
- list->appendTransformItem(visualRect, TransformationMatrix::toSkMatrix44(transform));
+ list->appendTransformItem(TransformationMatrix::toSkMatrix44(transform));
}
#ifndef NDEBUG
@@ -51,7 +51,7 @@ void EndTransform3DDisplayItem::replay(GraphicsContext& context) const
void EndTransform3DDisplayItem::appendToWebDisplayItemList(const IntRect& visualRect, WebDisplayItemList* list) const
{
- list->appendEndTransformItem(visualRect);
+ list->appendEndTransformItem();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698