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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.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/FEDisplacementMap.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.h b/third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.h
index 0c8ed5b5215c41908d56178e5caac077bc1f2601..0e35c57890f01f9ee2b4c9a9826b1089a1120b19 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.h
@@ -48,15 +48,14 @@ public:
float scale() const;
bool setScale(float);
- FloatRect mapPaintRect(const FloatRect&, bool forward = true) const final;
-
TextStream& externalRepresentation(TextStream&, int indention) const override;
- FloatRect determineAbsolutePaintRect(const FloatRect& requestedRect) const override;
-
private:
FEDisplacementMap(Filter*, ChannelSelectorType xChannelSelector, ChannelSelectorType yChannelSelector, float);
+ FloatRect mapInputs(const FloatRect&) const override;
+ FloatRect mapEffect(const FloatRect&) const override;
+
sk_sp<SkImageFilter> createImageFilter() override;
ChannelSelectorType m_xChannelSelector;

Powered by Google App Engine
This is Rietveld 408576698