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 6dc8fd05f11da5a787d0361d2ac035841fb5df8a..0744c9b36ff6dad5b34fb2bbcb4c514e185e401a 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h |
@@ -71,7 +71,11 @@ class PLATFORM_EXPORT PaintArtifact final { |
// Draws the paint artifact to a GraphicsContext. |
// |bounds| is the bounding box of the paint artifact's display list. |
- void replay(const FloatRect& bounds, GraphicsContext&) const; |
+ // In SPv2 mode, replays into the ancestor state given by |replayState|. |
+ void replay( |
+ const FloatRect& bounds, |
+ GraphicsContext&, |
+ const PropertyTreeState& replayState = PropertyTreeState::root()) const; |
// Writes the paint artifact into a WebDisplayItemList. |
void appendToWebDisplayItemList(WebDisplayItemList*) const; |