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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEBoxReflect.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/FEBoxReflect.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEBoxReflect.h b/third_party/WebKit/Source/platform/graphics/filters/FEBoxReflect.h
index 7d044954c73323f88faf9efbaebb35e1ed89c673..fe4e951fa933e3f2c7b19c095f2c3d0782d712ae 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEBoxReflect.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEBoxReflect.h
@@ -20,14 +20,16 @@ public:
}
// FilterEffect implementation
- FloatRect mapRect(const FloatRect&, bool forward = true) const final;
TextStream& externalRepresentation(TextStream&, int indentation) const final;
- sk_sp<SkImageFilter> createImageFilter() final;
private:
FEBoxReflect(Filter*, const BoxReflection&);
~FEBoxReflect() final;
+ FloatRect mapEffect(const FloatRect&) const final;
+
+ sk_sp<SkImageFilter> createImageFilter() final;
+
BoxReflection m_reflection;
};

Powered by Google App Engine
This is Rietveld 408576698