Index: Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
diff --git a/Source/core/layout/svg/SVGLayoutTreeAsText.cpp b/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
index f85e8c24567e4f3ae7cf99c74fc9ea362afff169..ab75e070c10a43e225b423b03d53bbf8b84e7f15 100644 |
--- a/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
+++ b/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
@@ -510,7 +510,7 @@ void writeSVGResourceContainer(TextStream& ts, const LayoutObject& object, int i |
ts << "\n"; |
// Creating a placeholder filter which is passed to the builder. |
FloatRect dummyRect; |
- RefPtrWillBeRawPtr<SVGFilter> dummyFilter = SVGFilter::create(dummyRect, dummyRect, true); |
+ RefPtrWillBeRawPtr<Filter> dummyFilter = Filter::create(dummyRect, dummyRect, 1, Filter::BoundingBox); |
if (RefPtrWillBeRawPtr<SVGFilterBuilder> builder = filter->buildPrimitives(dummyFilter.get())) { |
if (FilterEffect* lastEffect = builder->lastEffect()) |
lastEffect->externalRepresentation(ts, indent + 1); |