From 5ea95df02de9cd774d0b84d1341599bbd9c0d8db Mon Sep 17 00:00:00 2001 From: reed Date: Tue, 6 Oct 2015 14:05:32 -0700 Subject: Revert "Revert of factories should return baseclass, allowing the impl to specialize (patchset #4 id:60001 of https://codereview.chromium.org/1390523005/ )" This reverts commit 95376a0dde3cdf414eb97a20cef3af19ed7e0151. BUG=skia: TBR= Review URL: https://codereview.chromium.org/1389083002 --- gm/bigtileimagefilter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gm/bigtileimagefilter.cpp') 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 imageSource(SkImageSource::Create(fRedImage)); - SkAutoTUnref tif(SkTileImageFilter::Create( + SkAutoTUnref 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 tif2(SkTileImageFilter::Create( + SkAutoTUnref tif2(SkTileImageFilter::Create( SkRect::MakeWH(SkIntToScalar(kBitmapSize), SkIntToScalar(kBitmapSize)), SkRect::MakeWH(SkIntToScalar(kBitmapSize), SkIntToScalar(kBitmapSize)), nullptr)); -- cgit v1.2.3