Index: include/gpu/GrDrawContext.h |
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h |
index 9276e2b21ff147e16ad69cc6f93d951d5c776433..24e38b84946dbcb1447f004ece5d6305527f9e38 100644 |
--- a/include/gpu/GrDrawContext.h |
+++ b/include/gpu/GrDrawContext.h |
@@ -288,8 +288,8 @@ private: |
SkDEBUGCODE(void validate() const;) |
- GrDrawContext(GrDrawingManager*, GrRenderTarget*, const SkSurfaceProps* surfaceProps, |
- GrAuditTrail*, GrSingleOwner*); |
+ GrDrawContext(GrContext*, GrDrawingManager*, GrRenderTarget*, |
+ const SkSurfaceProps* surfaceProps, GrAuditTrail*, GrSingleOwner*); |
void internalDrawPath(GrPipelineBuilder*, |
const SkMatrix& viewMatrix, |
@@ -311,6 +311,7 @@ private: |
// it up. For this reason, the drawTarget should only ever be accessed via 'getDrawTarget'. |
GrDrawTarget* fDrawTarget; |
GrTextContext* fTextContext; // lazily gotten from GrContext::DrawingManager |
+ GrContext* fContext; |
SkSurfaceProps fSurfaceProps; |
GrAuditTrail* fAuditTrail; |