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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.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/PaintArtifact.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h
index 2d3a4c461aa67c9491fa4a4a7ad6cbdf5acb8b88..0e552951d466815eb4c1e21766fdc9c9932fefc8 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h
@@ -84,7 +84,8 @@ class PLATFORM_EXPORT PaintArtifact final {
const PropertyTreeState& replay_state = PropertyTreeState::Root()) const;
// Writes the paint artifact into a WebDisplayItemList.
- void AppendToWebDisplayItemList(WebDisplayItemList*) const;
+ void AppendToWebDisplayItemList(const LayoutSize& visual_rect_offset,
+ WebDisplayItemList*) const;
private:
DisplayItemList display_item_list_;

Powered by Google App Engine
This is Rietveld 408576698