Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: Source/WebCore/platform/graphics/filters/FilterEffect.h

Issue 6949013: Merge 85926 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/platform/graphics/filters/FilterEffect.h
===================================================================
--- Source/WebCore/platform/graphics/filters/FilterEffect.h (revision 85995)
+++ Source/WebCore/platform/graphics/filters/FilterEffect.h (working copy)
@@ -32,6 +32,8 @@
#include <wtf/RefPtr.h>
#include <wtf/Vector.h>
+static const float kMaxFilterSize = 5000.0f;
+
namespace WebCore {
class Filter;
@@ -74,8 +76,8 @@
IntRect absolutePaintRect() const { return m_absolutePaintRect; }
void setAbsolutePaintRect(const IntRect& absolutePaintRect) { m_absolutePaintRect = absolutePaintRect; }
- IntRect maxEffectRect() const { return m_maxEffectRect; }
- void setMaxEffectRect(const IntRect& maxEffectRect) { m_maxEffectRect = maxEffectRect; }
+ FloatRect maxEffectRect() const { return m_maxEffectRect; }
+ void setMaxEffectRect(const FloatRect& maxEffectRect) { m_maxEffectRect = maxEffectRect; }
virtual void apply() = 0;
virtual void dump() = 0;
@@ -128,7 +130,7 @@
// 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.
- IntRect m_maxEffectRect;
+ FloatRect m_maxEffectRect;
Filter* m_filter;
private:
« no previous file with comments | « Source/WebCore/platform/graphics/filters/FETurbulence.h ('k') | Source/WebCore/platform/graphics/filters/FilterEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698