Chromium Code Reviews| 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 c895217ac7d606a497e257b0713acef0c26bc850..b98d7a35eb5eb6faafe523f1ff769e3bde1cd5ce 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.h |
| +++ b/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.h |
| @@ -66,8 +66,7 @@ public: |
| } |
| IntRect absolutePaintRect() const { return m_absolutePaintRect; } |
| - |
| - FloatRect maxEffectRect() const { return m_maxEffectRect; } |
| + FloatRect absoluteBounds() const; |
|
pdr.
2016/09/08 20:46:12
Can you add a comment here? Maybe something about
fs
2016/09/08 21:08:12
Done.
|
| virtual sk_sp<SkImageFilter> createImageFilter(); |
| virtual sk_sp<SkImageFilter> createImageFilterWithoutValidation(); |
| @@ -105,8 +104,6 @@ public: |
| ColorSpace operatingColorSpace() const { return m_operatingColorSpace; } |
| virtual void setOperatingColorSpace(ColorSpace colorSpace) { m_operatingColorSpace = colorSpace; } |
| - FloatRect determineMaximumEffectRect(); |
| - |
| virtual FloatRect determineAbsolutePaintRect(const FloatRect& requestedAbsoluteRect); |
| virtual bool affectsTransparentPixels() { return false; } |
| @@ -138,9 +135,6 @@ private: |
| IntRect m_absolutePaintRect; |
| - // The maximum size of a filter primitive. In SVG this is the primitive subregion in absolute coordinate space. |
| - // The absolute paint rect should never be bigger than m_maxEffectRect. |
| - FloatRect m_maxEffectRect; |
| Member<Filter> m_filter; |
| // The following member variables are SVG specific and will move to LayoutSVGResourceFilterPrimitive. |