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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.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/ClipPathDisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp
index a215a535327924945a4d9f4beaa6d407590ecfd2..99741de5c35a881ae2ca92caa6a1814b0b5a6b14 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp
@@ -18,7 +18,7 @@ void BeginClipPathDisplayItem::Replay(GraphicsContext& context) const {
}
void BeginClipPathDisplayItem::AppendToWebDisplayItemList(
- const IntRect& visual_rect,
+ const LayoutSize&,
WebDisplayItemList* list) const {
list->AppendClipPathItem(clip_path_, true);
}
@@ -36,7 +36,7 @@ void EndClipPathDisplayItem::Replay(GraphicsContext& context) const {
}
void EndClipPathDisplayItem::AppendToWebDisplayItemList(
- const IntRect& visual_rect,
+ const LayoutSize&,
WebDisplayItemList* list) const {
list->AppendEndClipPathItem();
}

Powered by Google App Engine
This is Rietveld 408576698