Index: src/gpu/GrRenderTarget.cpp |
diff --git a/src/gpu/GrRenderTarget.cpp b/src/gpu/GrRenderTarget.cpp |
index 59a7ae5a2a72b73b4ec9f8d908de95370ab80d95..14277665045a3eaea93dd6609f6266b7400c0308 100644 |
--- a/src/gpu/GrRenderTarget.cpp |
+++ b/src/gpu/GrRenderTarget.cpp |
@@ -18,7 +18,7 @@ |
void GrRenderTarget::discard() { |
// go through context so that all necessary flushing occurs |
GrContext* context = this->getContext(); |
- GrDrawContext* drawContext = context ? context->drawContext() : NULL; |
+ GrDrawContext* drawContext = context ? context->drawContext(this) : NULL; |
if (!drawContext) { |
return; |
} |