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

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

Issue 2751433002: [SPv2] Flatten property trees in PaintRecordBuilder into a single display list. (Closed)
Patch Set: none Created 3 years, 9 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 28ee1ccaf458773907ec7170b71aea8d25b7b0a9..6dc8fd05f11da5a787d0361d2ac035841fb5df8a 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h
@@ -70,7 +70,8 @@ class PLATFORM_EXPORT PaintArtifact final {
size_t approximateUnsharedMemoryUsage() const;
// Draws the paint artifact to a GraphicsContext.
- void replay(GraphicsContext&) const;
+ // |bounds| is the bounding box of the paint artifact's display list.
+ void replay(const FloatRect& bounds, GraphicsContext&) const;
// Writes the paint artifact into a WebDisplayItemList.
void appendToWebDisplayItemList(WebDisplayItemList*) const;

Powered by Google App Engine
This is Rietveld 408576698