| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index 78b3cfc7d0efe2930ddfba287baba3659b621d17..0e6eb92537c6794f3f9e8b19e9350a46f6a9d24b 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -347,6 +347,11 @@ GrRenderTarget* SkGpuDevice::accessRenderTarget() {
|
| return fRenderTarget;
|
| }
|
|
|
| +GrDrawContext* SkGpuDevice::accessDrawContext() {
|
| + ASSERT_SINGLE_OWNER
|
| + return fDrawContext.get();
|
| +}
|
| +
|
| void SkGpuDevice::clearAll() {
|
| ASSERT_SINGLE_OWNER
|
| GrColor color = 0;
|
|
|