| Index: tests/ClearTest.cpp
|
| diff --git a/tests/ClearTest.cpp b/tests/ClearTest.cpp
|
| index df152089fb34403acfafcf120122dbefa8208dce..25fcf8584999fa27bbd84b57246aebed69eacd2c 100644
|
| --- a/tests/ClearTest.cpp
|
| +++ b/tests/ClearTest.cpp
|
| @@ -62,7 +62,7 @@ static bool reset_dc(SkAutoTUnref<GrDrawContext>* dc, SkAutoTUnref<GrSurface>* r
|
| GrRenderTarget* rt = (*rtKeepAlive)->asRenderTarget();
|
| SkASSERT(rt->getUniqueID() != oldID);
|
| dc->reset(context->drawContext(rt));
|
| - return SkToBool(*dc);
|
| + return *dc != nullptr;
|
| }
|
|
|
| DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ClearBatch, reporter, context) {
|
|
|