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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.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/ClipDisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
index b3a90e265d83e4f900c0d7891743cc778620d3bd..fdadedede38e1390ff047f2b8ff6f0c692e4385c 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
@@ -26,7 +26,7 @@ void ClipDisplayItem::Replay(GraphicsContext& context) const {
}
void ClipDisplayItem::AppendToWebDisplayItemList(
- const IntRect& visual_rect,
+ const LayoutSize&,
WebDisplayItemList* list) const {
WebVector<SkRRect> web_rounded_rects(rounded_rect_clips_.size());
for (size_t i = 0; i < rounded_rect_clips_.size(); ++i)
@@ -40,7 +40,7 @@ void EndClipDisplayItem::Replay(GraphicsContext& context) const {
}
void EndClipDisplayItem::AppendToWebDisplayItemList(
- const IntRect& visual_rect,
+ const LayoutSize&,
WebDisplayItemList* list) const {
list->AppendEndClipItem();
}

Powered by Google App Engine
This is Rietveld 408576698