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

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

Issue 2784373004: [SPv2] Replay DragImages into PropertyTreeState of the enclosing stacking context (Closed)
Patch Set: 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 6dc8fd05f11da5a787d0361d2ac035841fb5df8a..bef6c92f26b905e71b1ec0309202301210e5d9ed 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, replayes into the ancestor state given by |replayState|.
wkorman 2017/03/31 18:21:51 replayes -> replays
chrishtr 2017/03/31 20:59:03 Done.
+ void replay(
+ const FloatRect& bounds,
+ GraphicsContext&,
+ const PropertyTreeState& replayState = PropertyTreeState::root()) const;
// Writes the paint artifact into a WebDisplayItemList.
void appendToWebDisplayItemList(WebDisplayItemList*) const;

Powered by Google App Engine
This is Rietveld 408576698