| Index: third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h
|
| diff --git a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h
|
| index 6cfd03ccc3488711f3fc93aa3a1e0a7f6a1e2da2..cecda7d4fdbd88f89b393737122b3379dac2ffbb 100644
|
| --- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h
|
| +++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h
|
| @@ -23,6 +23,7 @@
|
|
|
| #include "platform/graphics/filters/FilterEffect.h"
|
| #include "platform/heap/Handle.h"
|
| +#include "third_party/skia/include/core/SkShader.h"
|
| #include "wtf/HashMap.h"
|
| #include "wtf/HashSet.h"
|
| #include "wtf/PassRefPtr.h"
|
| @@ -77,7 +78,9 @@ class SVGFilterBuilder {
|
| public:
|
| SVGFilterBuilder(
|
| PassRefPtrWillBeRawPtr<FilterEffect> sourceGraphic,
|
| - PassRefPtrWillBeRawPtr<SVGFilterGraphNodeMap> = nullptr);
|
| + PassRefPtrWillBeRawPtr<SVGFilterGraphNodeMap> = nullptr,
|
| + PassRefPtr<SkShader> fillShader = nullptr,
|
| + PassRefPtr<SkShader> strokeShader = nullptr);
|
|
|
| void buildGraph(Filter*, SVGFilterElement&, const FloatRect&);
|
|
|
| @@ -95,6 +98,7 @@ private:
|
|
|
| RefPtrWillBeMember<FilterEffect> m_lastEffect;
|
| RefPtrWillBeMember<SVGFilterGraphNodeMap> m_nodeMap;
|
| + RefPtrWillBeMember<Filter> m_paintFilter;
|
| };
|
|
|
| } // namespace blink
|
|
|