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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FETile.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/FETile.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FETile.h b/third_party/WebKit/Source/platform/graphics/filters/FETile.h
index 6569bb5faea189fb15a269e318f0f088bfceb880..06279f82afad33f287622eb6559d9c8bc909c286 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FETile.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/FETile.h
@@ -31,15 +31,15 @@ class PLATFORM_EXPORT FETile final : public FilterEffect {
public:
static FETile* create(Filter*);
- FloatRect mapPaintRect(const FloatRect&, bool forward = true) const final;
-
- FilterEffectType getFilterEffectType() const override { return FilterEffectTypeTile; }
-
TextStream& externalRepresentation(TextStream&, int indention) const override;
private:
FETile(Filter*);
+ FilterEffectType getFilterEffectType() const override { return FilterEffectTypeTile; }
+
+ FloatRect mapInputs(const FloatRect&) const final;
+
sk_sp<SkImageFilter> createImageFilter() override;
};

Powered by Google App Engine
This is Rietveld 408576698