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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.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/FEGaussianBlur.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.h b/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.h
index cefb0642ef1f2594ce7fc11f780fb43ade5745ca..22a316557f7c92850ba06b724962f6cc00a974c8 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.h
@@ -31,8 +31,6 @@ class PLATFORM_EXPORT FEGaussianBlur final : public FilterEffect {
public:
static FEGaussianBlur* create(Filter*, float, float);
- FloatRect mapRect(const FloatRect&, bool forward = true) const final;
- FloatRect determineAbsolutePaintRect(const FloatRect& requestedRect) const override;
static IntSize calculateKernelSize(const Filter*, const FloatPoint& std);
static IntSize calculateUnscaledKernelSize(const FloatPoint& std);
@@ -41,6 +39,8 @@ public:
private:
FEGaussianBlur(Filter*, float, float);
+ FloatRect mapEffect(const FloatRect&) const override;
+
sk_sp<SkImageFilter> createImageFilter() override;
float m_stdX;

Powered by Google App Engine
This is Rietveld 408576698