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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEOffset.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/FEOffset.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEOffset.h b/third_party/WebKit/Source/platform/graphics/filters/FEOffset.h
index 17d1bcbcb402a8e89097ee3830c06eb076316895..a9c8376db49e271c777b537436768a9be537ab8f 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEOffset.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEOffset.h
@@ -37,13 +37,13 @@ public:
float dy() const;
void setDy(float);
- FloatRect mapRect(const FloatRect&, bool forward = true) const final;
-
TextStream& externalRepresentation(TextStream&, int indention) const override;
private:
FEOffset(Filter*, float dx, float dy);
+ FloatRect mapEffect(const FloatRect&) const override;
+
sk_sp<SkImageFilter> createImageFilter() override;
float m_dx;

Powered by Google App Engine
This is Rietveld 408576698