diff options
Diffstat (limited to 'include/gpu/GrDrawContext.h')
-rw-r--r-- | include/gpu/GrDrawContext.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h index 9276e2b21f..24e38b8494 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; |