Index: include/gpu/GrContext.h |
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h |
index f576474cff01f98aa8023dd76ebe24075be222cd..fdbfc817b281f07803cc68a43e21b4bf0eabaea0 100644 |
--- a/include/gpu/GrContext.h |
+++ b/include/gpu/GrContext.h |
@@ -178,8 +178,8 @@ public: |
* |
* @return a draw context |
*/ |
- GrDrawContext* drawContext(const SkSurfaceProps* surfaceProps = NULL) { |
- return fDrawingMgr.drawContext(surfaceProps); |
+ GrDrawContext* drawContext(GrRenderTarget* rt, const SkSurfaceProps* surfaceProps = NULL) { |
+ return fDrawingMgr.drawContext(rt, surfaceProps); |
} |
/////////////////////////////////////////////////////////////////////////// |
@@ -416,7 +416,7 @@ private: |
// Callers should take a ref if they rely on the GrDrawContext sticking around. |
// NULL will be returned if the context has been abandoned. |
- GrDrawContext* drawContext(const SkSurfaceProps* surfaceProps); |
+ GrDrawContext* drawContext(GrRenderTarget* rt, const SkSurfaceProps* surfaceProps); |
private: |
void cleanup(); |