Index: Source/core/platform/graphics/filters/FilterEffect.h |
diff --git a/Source/core/platform/graphics/filters/FilterEffect.h b/Source/core/platform/graphics/filters/FilterEffect.h |
index ffe05d9f283b161fa13117790362abb25e499202..f502b09b753355b5bad9407437881232327cfa0a 100644 |
--- a/Source/core/platform/graphics/filters/FilterEffect.h |
+++ b/Source/core/platform/graphics/filters/FilterEffect.h |
@@ -55,6 +55,14 @@ enum FilterEffectType { |
FilterEffectTypeSourceInput |
}; |
+enum DetermineSubregionFlag { |
+ DetermineSubregionNone = 0, |
+ MapRectForward = 1, |
+ ClipToFilterRegion = 1 << 1 |
+}; |
+ |
+typedef int DetermineSubregionFlags; |
+ |
class FilterEffect : public RefCounted<FilterEffect> { |
public: |
virtual ~FilterEffect(); |
@@ -155,7 +163,7 @@ public: |
virtual void transformResultColorSpace(FilterEffect* in, const int) { in->transformResultColorSpace(m_operatingColorSpace); } |
void transformResultColorSpace(ColorSpace); |
- FloatRect determineFilterPrimitiveSubregion(); |
+ FloatRect determineFilterPrimitiveSubregion(DetermineSubregionFlags = DetermineSubregionNone); |
protected: |
FilterEffect(Filter*); |