diff options
Diffstat (limited to 'tests/DrawBitmapRectTest.cpp')
-rw-r--r-- | tests/DrawBitmapRectTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/DrawBitmapRectTest.cpp b/tests/DrawBitmapRectTest.cpp index 119ad2f652..ab667fdfae 100644 --- a/tests/DrawBitmapRectTest.cpp +++ b/tests/DrawBitmapRectTest.cpp @@ -19,11 +19,11 @@ #include "SkLruImageCache.h" // A BitmapFactory that always fails when asked to return pixels. -static bool FailureDecoder(const void* data, size_t length, SkImage::Info* info, +static bool FailureDecoder(const void* data, size_t length, SkImageInfo* info, const SkBitmapFactory::Target* target) { if (info) { info->fWidth = info->fHeight = 100; - info->fColorType = SkImage::kRGBA_8888_ColorType; + info->fColorType = kRGBA_8888_SkColorType; info->fAlphaType = kPremul_SkAlphaType; } // this will deliberately return false if they are asking us to decode |