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