| Index: tests/BitmapCopyTest.cpp
|
| diff --git a/tests/BitmapCopyTest.cpp b/tests/BitmapCopyTest.cpp
|
| index 8b2cb3ce54aa37cbeccea362f2c5cd125dcaaca4..70998bd3f0f6d605a61d054e56ec885c5186c3dd 100644
|
| --- a/tests/BitmapCopyTest.cpp
|
| +++ b/tests/BitmapCopyTest.cpp
|
| @@ -669,6 +669,10 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(BitmapCopy_Texture, reporter, ctx) {
|
| SkAutoTUnref<GrTexture> texture(
|
| ctx->textureProvider()->createTexture(desc, false, srcData, 0));
|
|
|
| + if (!texture) {
|
| + continue;
|
| + }
|
| +
|
| SkBitmap srcBmp;
|
| GrWrapTextureInBitmap(texture, 2, 2, false, &srcBmp);
|
| if (srcBmp.isNull()) {
|
|
|