Index: third_party/WebKit/Source/platform/graphics/filters/FilterEffect.h |
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.h b/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.h |
index cc2db4a8d747b2d3d06906b74051fe6456a5d721..c895217ac7d606a497e257b0713acef0c26bc850 100644 |
--- a/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.h |
+++ b/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.h |
@@ -31,8 +31,6 @@ |
#include "platform/heap/Handle.h" |
#include "third_party/skia/include/core/SkImageFilter.h" |
#include "wtf/Noncopyable.h" |
-#include "wtf/PassRefPtr.h" |
-#include "wtf/RefPtr.h" |
#include "wtf/Vector.h" |
namespace blink { |
@@ -50,14 +48,6 @@ enum FilterEffectType { |
FilterEffectTypeSourceInput |
}; |
-enum DetermineMaxEffectRectFlag { |
- DetermineMaxEffectRectNone = 0, |
- MapRectForward = 1, |
- ClipToFilterRegion = 1 << 1 |
-}; |
- |
-typedef int DetermineMaxEffectRectFlags; |
- |
class PLATFORM_EXPORT FilterEffect : public GarbageCollectedFinalized<FilterEffect> { |
WTF_MAKE_NONCOPYABLE(FilterEffect); |
public: |
@@ -115,7 +105,7 @@ public: |
ColorSpace operatingColorSpace() const { return m_operatingColorSpace; } |
virtual void setOperatingColorSpace(ColorSpace colorSpace) { m_operatingColorSpace = colorSpace; } |
- FloatRect determineMaximumEffectRect(DetermineMaxEffectRectFlags); |
+ FloatRect determineMaximumEffectRect(); |
virtual FloatRect determineAbsolutePaintRect(const FloatRect& requestedAbsoluteRect); |
virtual bool affectsTransparentPixels() { return false; } |