Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index 8cccd35fff4dfa844f38e4e78ee4a2e8ac2fc9ca..88adb20b6065e1b0b535c41bb1dae6b1c9be2487 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -194,13 +194,13 @@ GrIndexBuffer* GrGpu::createInstancedIndexBuffer(const uint16_t* pattern, |
return buffer; |
} |
-void GrGpu::clear(const SkIRect* rect, |
- GrColor color, |
- bool canIgnoreRect, |
- GrRenderTarget* renderTarget) { |
+void GrGpu::onClear(const SkIRect* rect, |
+ GrColor color, |
+ bool canIgnoreRect, |
+ GrRenderTarget* renderTarget) { |
SkASSERT(renderTarget); |
this->handleDirtyContext(); |
- this->onClear(renderTarget, rect, color, canIgnoreRect); |
+ this->onGpuClear(renderTarget, rect, color, canIgnoreRect); |
} |
void GrGpu::clearStencilClip(const SkIRect& rect, |