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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.h

Issue 2341923002: Harmonize FilterEffect::mapRect and mapPaintRect (Closed)
Patch Set: Rebase 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/core/svg/graphics/filters/SVGFEImage.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.h b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.h
index 0f399b3f6a5445a1b4c74995ad17b6a1ac631faa..6e55f274043e2bb6544ed5d3c04186aa911031ef 100644
--- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.h
+++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.h
@@ -38,16 +38,11 @@ public:
static FEImage* createWithImage(Filter*, PassRefPtr<Image>, SVGPreserveAspectRatio*);
static FEImage* createWithIRIReference(Filter*, TreeScope&, const String&, SVGPreserveAspectRatio*);
- FloatRect determineAbsolutePaintRect(const FloatRect& requestedRect) const override;
-
- FilterEffectType getFilterEffectType() const override { return FilterEffectTypeImage; }
-
// feImage does not perform color interpolation of any kind, so doesn't
// depend on the value of color-interpolation-filters.
void setOperatingColorSpace(ColorSpace) override { }
TextStream& externalRepresentation(TextStream&, int indention) const override;
- sk_sp<SkImageFilter> createImageFilter() override;
DECLARE_VIRTUAL_TRACE();
@@ -57,6 +52,11 @@ private:
FEImage(Filter*, TreeScope&, const String&, SVGPreserveAspectRatio*);
LayoutObject* referencedLayoutObject() const;
+ FilterEffectType getFilterEffectType() const override { return FilterEffectTypeImage; }
+
+ FloatRect mapInputs(const FloatRect&) const override;
+
+ sk_sp<SkImageFilter> createImageFilter() override;
sk_sp<SkImageFilter> createImageFilterForLayoutObject(const LayoutObject&);
RefPtr<Image> m_image;

Powered by Google App Engine
This is Rietveld 408576698