Index: tests/ImageFilterTest.cpp |
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp |
index f83d315c4d4511b62865edff2948451bcb77fb28..d70bf48d0f9501616ddb1e57387c9e8a317d71ce 100644 |
--- a/tests/ImageFilterTest.cpp |
+++ b/tests/ImageFilterTest.cpp |
@@ -400,7 +400,7 @@ DEF_TEST(TestNegativeBlurSigma, reporter) { |
const SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); |
SkAutoTUnref<SkBaseDevice> device(SkBitmapDevice::Create(info, props)); |
- SkImageFilter::Proxy proxy(device); |
+ SkImageFilter::DeviceProxy proxy(device); |
test_negative_blur_sigma(&proxy, reporter); |
} |
@@ -773,7 +773,7 @@ DEF_TEST(ImageFilterCropRect, reporter) { |
const SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); |
SkAutoTUnref<SkBaseDevice> device(SkBitmapDevice::Create(info, props)); |
- SkImageFilter::Proxy proxy(device); |
+ SkImageFilter::DeviceProxy proxy(device); |
test_crop_rects(&proxy, reporter); |
} |
@@ -887,7 +887,7 @@ DEF_TEST(ImageFilterClippedPictureImageFilter, reporter) { |
bitmap.allocN32Pixels(2, 2); |
const SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); |
SkBitmapDevice device(bitmap, props); |
- SkImageFilter::Proxy proxy(&device); |
+ SkImageFilter::DeviceProxy proxy(&device); |
REPORTER_ASSERT(reporter, !imageFilter->filterImage(&proxy, bitmap, ctx, &result, &offset)); |
} |
@@ -1126,7 +1126,7 @@ DEF_TEST(ComposedImageFilterOffset, reporter) { |
bitmap.eraseARGB(0, 0, 0, 0); |
const SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); |
SkBitmapDevice device(bitmap, props); |
- SkImageFilter::Proxy proxy(&device); |
+ SkImageFilter::DeviceProxy proxy(&device); |
SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(1, 0, 20, 20)); |
SkAutoTUnref<SkImageFilter> offsetFilter(SkOffsetImageFilter::Create(0, 0, nullptr, &cropRect)); |
@@ -1145,7 +1145,7 @@ DEF_TEST(PartialCropRect, reporter) { |
bitmap.eraseARGB(0, 0, 0, 0); |
const SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); |
SkBitmapDevice device(bitmap, props); |
- SkImageFilter::Proxy proxy(&device); |
+ SkImageFilter::DeviceProxy proxy(&device); |
SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(100, 0, 20, 30), |
SkImageFilter::CropRect::kHasWidth_CropEdge | SkImageFilter::CropRect::kHasHeight_CropEdge); |
@@ -1252,7 +1252,7 @@ DEF_GPUTEST(ImageFilterCropRectGPU, reporter, factory) { |
0, |
&props, |
SkGpuDevice::kUninit_InitContents)); |
- SkImageFilter::Proxy proxy(device); |
+ SkImageFilter::DeviceProxy proxy(device); |
test_crop_rects(&proxy, reporter); |
} |
@@ -1306,7 +1306,7 @@ DEF_GPUTEST(TestNegativeBlurSigmaGPU, reporter, factory) { |
0, |
&props, |
SkGpuDevice::kUninit_InitContents)); |
- SkImageFilter::Proxy proxy(device); |
+ SkImageFilter::DeviceProxy proxy(device); |
test_negative_blur_sigma(&proxy, reporter); |
} |