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

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

Issue 1387573003: Pass SkiaImageFilterBuilder& to FilterEffect::createImageFilter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/FETile.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FETile.cpp b/third_party/WebKit/Source/platform/graphics/filters/FETile.cpp
index 68263dfdf6fce1c3d80a4a23a229ad6559c4e82c..696d603789dd398f7fc5bcdc0e137e1986f1989c 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FETile.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FETile.cpp
@@ -60,9 +60,9 @@ static FloatRect getRect(FilterEffect* effect)
return result;
}
-PassRefPtr<SkImageFilter> FETile::createImageFilter(SkiaImageFilterBuilder* builder)
+PassRefPtr<SkImageFilter> FETile::createImageFilter(SkiaImageFilterBuilder& builder)
{
- RefPtr<SkImageFilter> input(builder->build(inputEffect(0), operatingColorSpace()));
+ RefPtr<SkImageFilter> input(builder.build(inputEffect(0), operatingColorSpace()));
FloatRect srcRect = inputEffect(0) ? getRect(inputEffect(0)) : filter()->filterRegion();
FloatRect dstRect = getRect(this);
return adoptRef(SkTileImageFilter::Create(srcRect, dstRect, input.get()));

Powered by Google App Engine
This is Rietveld 408576698