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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEComposite.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/FEComposite.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEComposite.h b/third_party/WebKit/Source/platform/graphics/filters/FEComposite.h
index 23ebf9f10df273a5ef8a4b0b0b2c7654ac76a3e9..4a198387281b2c060f2d6d255ab056dad5e1dff1 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEComposite.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEComposite.h
@@ -58,8 +58,6 @@ public:
float k4() const;
bool setK4(float);
- FloatRect determineAbsolutePaintRect(const FloatRect& requestedRect) const override;
-
TextStream& externalRepresentation(TextStream&, int indention) const override;
protected:
@@ -68,6 +66,10 @@ protected:
private:
FEComposite(Filter*, const CompositeOperationType&, float, float, float, float);
+ FloatRect mapInputs(const FloatRect&) const override;
+
+ bool affectsTransparentPixels() const override;
+
sk_sp<SkImageFilter> createImageFilter() override;
sk_sp<SkImageFilter> createImageFilterWithoutValidation() override;
sk_sp<SkImageFilter> createImageFilterInternal(bool requiresPMColorValidation);

Powered by Google App Engine
This is Rietveld 408576698