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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.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/ClipPathDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
index 3952c877c51a5784c6d1f0dd54419d3300ee5478..5464841b6fe14b4563946cff96915ee89f461ac6 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
@@ -21,7 +21,7 @@ class PLATFORM_EXPORT BeginClipPathDisplayItem final
clip_path_(clip_path.GetSkPath()) {}
void Replay(GraphicsContext&) const override;
- void AppendToWebDisplayItemList(const IntRect&,
+ void AppendToWebDisplayItemList(const LayoutSize&,
WebDisplayItemList*) const override;
int NumberOfSlowPaths() const override;
@@ -46,7 +46,7 @@ class PLATFORM_EXPORT EndClipPathDisplayItem final
: PairedEndDisplayItem(client, kEndClipPath, 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