| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index 724d77b4c03479d1c9212095a2803ffd6aaa0195..d0c526b1700aab2727466da756410591d8c17e99 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -228,6 +228,13 @@ GrRenderTarget* SkGpuDevice::CreateRenderTarget(
|
| // homogenous backing (e.g., raster or gpu).
|
| void SkGpuDevice::drawSpriteWithFilter(const SkDraw& draw, const SkBitmap& bitmap,
|
| int x, int y, const SkPaint& paint) {
|
| + ASSERT_SINGLE_OWNER
|
| + GR_CREATE_TRACE_MARKER_CONTEXT("SkGpuDevice", "drawSpriteWithFilter", fContext);
|
| +
|
| + if (fContext->abandoned()) {
|
| + return;
|
| + }
|
| +
|
| if (bitmap.getTexture()) {
|
| INHERITED::drawSpriteWithFilter(draw, bitmap, x, y, paint);
|
| return;
|
|
|