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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEMorphology.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/platform/graphics/filters/FEMorphology.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEMorphology.h b/third_party/WebKit/Source/platform/graphics/filters/FEMorphology.h
index 9dbddc0efe559ebd61a3efb7cd54c24439a56085..8a30ba509399d589081f8d9fa999239d20881ced 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEMorphology.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEMorphology.h
@@ -45,13 +45,13 @@ public:
float radiusY() const;
bool setRadiusY(float);
- FloatRect mapRect(const FloatRect&, bool forward = true) const final;
-
TextStream& externalRepresentation(TextStream&, int indention) const override;
private:
FEMorphology(Filter*, MorphologyOperatorType, float radiusX, float radiusY);
+ FloatRect mapEffect(const FloatRect&) const override;
+
sk_sp<SkImageFilter> createImageFilter() override;
MorphologyOperatorType m_type;

Powered by Google App Engine
This is Rietveld 408576698