Index: third_party/WebKit/Source/core/paint/FilterEffectBuilder.h |
diff --git a/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h b/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h |
index 443a22c738fd37712e5c4019b82319c25aa8018b..ac81318219a1d147ef28142bbf776cb9e84153a6 100644 |
--- a/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h |
+++ b/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h |
@@ -34,8 +34,11 @@ class SkPaint; |
namespace blink { |
-class FilterOperations; |
class Element; |
+class FilterOperations; |
+class ReferenceFilterOperation; |
+class SVGFilterElement; |
+class SVGFilterGraphNodeMap; |
class CORE_EXPORT FilterEffectBuilder final : public GarbageCollectedFinalized<FilterEffectBuilder> { |
public: |
@@ -47,7 +50,10 @@ public: |
virtual ~FilterEffectBuilder(); |
DECLARE_TRACE(); |
- bool build(Element*, const FilterOperations&, float zoom, const FloatSize* referenceBoxSize = nullptr, const SkPaint* fillPaint = nullptr, const SkPaint* strokePaint = nullptr); |
+ static Filter* buildReferenceFilter(const ReferenceFilterOperation&, const FloatSize* zoomedReferenceBoxSize, const SkPaint* fillPaint, const SkPaint* strokePaint, Element&, FilterEffect* previousEffect, float zoom); |
+ static Filter* buildReferenceFilter(SVGFilterElement&, const FloatRect& referenceBox, const SkPaint* fillPaint, const SkPaint* strokePaint, FilterEffect* previousEffect, float zoom, SVGFilterGraphNodeMap* = nullptr); |
+ |
+ bool build(Element*, const FilterOperations&, float zoom, const FloatSize* zoomedReferenceBoxSize = nullptr, const SkPaint* fillPaint = nullptr, const SkPaint* strokePaint = nullptr); |
FilterEffect* lastEffect() const |
{ |