aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/bigtileimagefilter.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-10-06 14:05:32 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-06 14:05:32 -0700
commit5ea95df02de9cd774d0b84d1341599bbd9c0d8db (patch)
tree55b4fcd9836726d1cea4fe8fe034d8486c72f49f /gm/bigtileimagefilter.cpp
parent95376a0dde3cdf414eb97a20cef3af19ed7e0151 (diff)
Revert "Revert of factories should return baseclass, allowing the impl to specialize (patchset #4 id:60001 of https://codereview.chromium.org/1390523005/ )"
Diffstat (limited to 'gm/bigtileimagefilter.cpp')
-rw-r--r--gm/bigtileimagefilter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/bigtileimagefilter.cpp b/gm/bigtileimagefilter.cpp
index 20c462b744..f2164e8e2f 100644
--- a/gm/bigtileimagefilter.cpp
+++ b/gm/bigtileimagefilter.cpp
@@ -56,7 +56,7 @@ protected:
SkRect bound = SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight));
SkAutoTUnref<SkImageFilter> imageSource(SkImageSource::Create(fRedImage));
- SkAutoTUnref<SkTileImageFilter> tif(SkTileImageFilter::Create(
+ SkAutoTUnref<SkImageFilter> tif(SkTileImageFilter::Create(
SkRect::MakeWH(SkIntToScalar(kBitmapSize), SkIntToScalar(kBitmapSize)),
SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)),
imageSource));
@@ -71,7 +71,7 @@ protected:
SkRect bound2 = SkRect::MakeWH(SkIntToScalar(kBitmapSize), SkIntToScalar(kBitmapSize));
- SkAutoTUnref<SkTileImageFilter> tif2(SkTileImageFilter::Create(
+ SkAutoTUnref<SkImageFilter> tif2(SkTileImageFilter::Create(
SkRect::MakeWH(SkIntToScalar(kBitmapSize), SkIntToScalar(kBitmapSize)),
SkRect::MakeWH(SkIntToScalar(kBitmapSize), SkIntToScalar(kBitmapSize)),
nullptr));