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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FilterEffect.h

Issue 2307343002: Remove dead uses of FilterEffect::determineMaximumEffectRect (Closed)
Patch Set: Created 4 years, 3 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: 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; }

Powered by Google App Engine
This is Rietveld 408576698