| Index: third_party/WebKit/Source/platform/testing/TestPaintArtifact.h
|
| diff --git a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.h b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.h
|
| index 746cddc5ce0d5db45db4cb689ff5e8af63ed3ae2..6c26971a0e281346610e6cbfbd6dbc1dd2fbbe7c 100644
|
| --- a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.h
|
| +++ b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.h
|
| @@ -9,6 +9,7 @@
|
| #include "platform/graphics/Color.h"
|
| #include "platform/graphics/paint/DisplayItemList.h"
|
| #include "platform/graphics/paint/PaintArtifact.h"
|
| +#include "platform/graphics/paint/ScrollPaintPropertyNode.h"
|
| #include "wtf/Allocator.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/Vector.h"
|
| @@ -24,7 +25,6 @@ class ClipPaintPropertyNode;
|
| class EffectPaintPropertyNode;
|
| class FloatRect;
|
| class PaintArtifact;
|
| -class ScrollPaintPropertyNode;
|
| class TransformPaintPropertyNode;
|
|
|
| // Useful for quickly making a paint artifact in unit tests.
|
| @@ -47,10 +47,11 @@ class TestPaintArtifact {
|
| ~TestPaintArtifact();
|
|
|
| // Add to the artifact.
|
| - TestPaintArtifact& chunk(PassRefPtr<TransformPaintPropertyNode>,
|
| - PassRefPtr<ClipPaintPropertyNode>,
|
| - PassRefPtr<EffectPaintPropertyNode>,
|
| - PassRefPtr<ScrollPaintPropertyNode> = nullptr);
|
| + TestPaintArtifact& chunk(
|
| + PassRefPtr<TransformPaintPropertyNode>,
|
| + PassRefPtr<ClipPaintPropertyNode>,
|
| + PassRefPtr<EffectPaintPropertyNode>,
|
| + PassRefPtr<ScrollPaintPropertyNode> = ScrollPaintPropertyNode::root());
|
| TestPaintArtifact& chunk(const PaintChunkProperties&);
|
| TestPaintArtifact& rectDrawing(const FloatRect& bounds, Color);
|
| TestPaintArtifact& foreignLayer(const FloatPoint&,
|
|
|