Index: Source/platform/graphics/filters/FilterEffect.h |
diff --git a/Source/platform/graphics/filters/FilterEffect.h b/Source/platform/graphics/filters/FilterEffect.h |
index 8e4c351797b89e23242f9b4739f65183519eb87e..52bc247e79f155a185cd6184605e1547678ba8b5 100644 |
--- a/Source/platform/graphics/filters/FilterEffect.h |
+++ b/Source/platform/graphics/filters/FilterEffect.h |
@@ -37,8 +37,6 @@ |
#include "wtf/Uint8ClampedArray.h" |
#include "wtf/Vector.h" |
-static const float kMaxFilterSize = 5000.0f; |
- |
namespace WebCore { |
class Filter; |
@@ -69,6 +67,10 @@ class PLATFORM_EXPORT FilterEffect : public RefCounted<FilterEffect> { |
public: |
virtual ~FilterEffect(); |
+ static bool isFilterSizeValid(const IntRect&); |
+ static bool isFilterSizeValid(const FloatRect&); |
+ static float maxFilterArea(); |
+ |
void clearResult(); |
void clearResultsRecursive(); |
@@ -179,7 +181,6 @@ public: |
protected: |
FilterEffect(Filter*); |
- |
ImageBuffer* createImageBufferResult(); |
Uint8ClampedArray* createUnmultipliedImageResult(); |
Uint8ClampedArray* createPremultipliedImageResult(); |