| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index 0a6ab5b52704876ff8976489db3ecc114d3f8a2a..3a3724c792fc3d29036b915fd0d49160b70e1ea5 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -233,7 +233,8 @@ void GrDrawContext::clear(const SkIRect* rect,
|
| } else if (isFull) {
|
| this->getDrawTarget()->fullClear(this->accessRenderTarget(), color);
|
| } else {
|
| - sk_sp<GrBatch> batch = GrClearBatch::Make(*rect, color, this->accessRenderTarget());
|
| + sk_sp<GrBatch> batch = sk_sp<GrBatch>(
|
| + GrClearBatch::Create(*rect, color, this->accessRenderTarget()));
|
| this->getDrawTarget()->addBatch(std::move(batch));
|
| }
|
| }
|
|
|