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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h

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/TransformDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
index c446c874f08a8bfd9e72d7700a79211722344940..c6c670d0c1e5bb6f0050d3642a85b54ef3a9ab3f 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
@@ -19,7 +19,7 @@ class PLATFORM_EXPORT BeginTransformDisplayItem final
transform_(transform) {}
void Replay(GraphicsContext&) const override;
- void AppendToWebDisplayItemList(const IntRect&,
+ void AppendToWebDisplayItemList(const LayoutSize&,
WebDisplayItemList*) const override;
const AffineTransform& Transform() const { return transform_; }
@@ -44,7 +44,7 @@ class PLATFORM_EXPORT EndTransformDisplayItem final
: PairedEndDisplayItem(client, kEndTransform, sizeof(*this)) {}
void Replay(GraphicsContext&) const override;
- void AppendToWebDisplayItemList(const IntRect&,
+ void AppendToWebDisplayItemList(const LayoutSize&,
WebDisplayItemList*) const override;
private:

Powered by Google App Engine
This is Rietveld 408576698