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

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

Issue 2894093002: Don't access DisplayItemClient::VisualRect() for cached display items. (Closed)
Patch Set: - Created 3 years, 7 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 ae4389c3b825922261a51b761fd1c249171ea884..ef3a619fed15cae2da7418dc3479906ae9e29fc5 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.cpp
@@ -18,7 +18,7 @@ void BeginTransform3DDisplayItem::Replay(GraphicsContext& context) const {
}
void BeginTransform3DDisplayItem::AppendToWebDisplayItemList(
- const IntRect& visual_rect,
+ const LayoutSize&,
WebDisplayItemList* list) const {
// TODO(jbroman): The compositor will need the transform origin separately.
TransformationMatrix transform(transform_);
@@ -56,7 +56,7 @@ void EndTransform3DDisplayItem::Replay(GraphicsContext& context) const {
}
void EndTransform3DDisplayItem::AppendToWebDisplayItemList(
- const IntRect& visual_rect,
+ const LayoutSize&,
WebDisplayItemList* list) const {
list->AppendEndTransformItem();
}

Powered by Google App Engine
This is Rietveld 408576698