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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.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/SourceGraphic.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.h b/third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.h
index 63ac1b1e947c6244393b4378665d8d2695eb2f6d..5e3884d7fc3e52625afc3618c13cf6d597d36722 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.h
@@ -32,10 +32,6 @@ public:
static SourceGraphic* create(Filter*);
~SourceGraphic() override;
- FloatRect determineAbsolutePaintRect(const FloatRect& requestedRect) const override;
-
- FilterEffectType getFilterEffectType() const override { return FilterEffectTypeSourceInput; }
-
TextStream& externalRepresentation(TextStream&, int indention) const override;
void setSourceRect(const IntRect&);
@@ -43,6 +39,10 @@ public:
private:
explicit SourceGraphic(Filter*);
+ FilterEffectType getFilterEffectType() const override { return FilterEffectTypeSourceInput; }
+
+ FloatRect mapInputs(const FloatRect&) const override;
+
IntRect m_sourceRect;
};

Powered by Google App Engine
This is Rietveld 408576698