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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.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/FEConvolveMatrix.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.h b/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.h
index e12509bd549744497993d9e4e95e0f2ea662058a..930b90708b7eace0309fec37e1b0a182ad74ce9d 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.h
@@ -50,14 +50,14 @@ public:
bool setEdgeMode(EdgeModeType);
bool setPreserveAlpha(bool);
- FloatRect mapPaintRect(const FloatRect&, bool forward = true) const final;
-
TextStream& externalRepresentation(TextStream&, int indention) const override;
private:
FEConvolveMatrix(Filter*, const IntSize&, float, float,
const IntPoint&, EdgeModeType, bool, const Vector<float>&);
+ FloatRect mapEffect(const FloatRect&) const final;
+
sk_sp<SkImageFilter> createImageFilter() override;
bool parametersValid() const;

Powered by Google App Engine
This is Rietveld 408576698