| Index: tests/PictureTest.cpp
|
| diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp
|
| index bcfd9c479e8cf117aecf589d14af16f208106233..7a4f071e00e75944450f761d1abaed0aff19a8c1 100644
|
| --- a/tests/PictureTest.cpp
|
| +++ b/tests/PictureTest.cpp
|
| @@ -71,8 +71,7 @@ static void test_analysis(skiatest::Reporter* reporter) {
|
| SkShader* shader = SkShader::CreateBitmapShader(bitmap, SkShader::kClamp_TileMode,
|
| SkShader::kClamp_TileMode);
|
| paint.setShader(shader)->unref();
|
| - REPORTER_ASSERT(reporter,
|
| - shader->asABitmap(NULL, NULL, NULL) == SkShader::kDefault_BitmapType);
|
| + REPORTER_ASSERT(reporter, shader->isABitmap());
|
|
|
| canvas->drawRect(SkRect::MakeWH(10, 10), paint);
|
| }
|
|
|