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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/SourceAlpha.cpp

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/SourceAlpha.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/SourceAlpha.cpp b/third_party/WebKit/Source/platform/graphics/filters/SourceAlpha.cpp
index 4186176743c520ed037bb0b0a4b50e29ebce4329..81c0df8db2cdb86c7b65357c071b1547bd157cb6 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/SourceAlpha.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/SourceAlpha.cpp
@@ -41,11 +41,6 @@ SourceAlpha::SourceAlpha(FilterEffect* sourceEffect)
inputEffects().append(sourceEffect);
}
-FloatRect SourceAlpha::determineAbsolutePaintRect(const FloatRect& requestedRect) const
-{
- return inputEffect(0)->determineAbsolutePaintRect(requestedRect);
-}
-
sk_sp<SkImageFilter> SourceAlpha::createImageFilter()
{
sk_sp<SkImageFilter> sourceGraphic(SkiaImageFilterBuilder::build(inputEffect(0), operatingColorSpace()));

Powered by Google App Engine
This is Rietveld 408576698