| Index: include/gpu/GrDrawContext.h
|
| diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
|
| index 97cb72a7f2e530166874b8998dd132b5a95653d1..9365021dfae13c069c09242ba092404432af66cc 100644
|
| --- a/include/gpu/GrDrawContext.h
|
| +++ b/include/gpu/GrDrawContext.h
|
| @@ -263,9 +263,7 @@ private:
|
| friend class GrAtlasTextContext; // for access to drawBatch
|
| friend class GrContext; // for ctor
|
|
|
| - GrDrawContext(GrContext*, GrDrawTarget*, const SkSurfaceProps&);
|
| -
|
| - GrTextContext* createTextContext(GrRenderTarget*, const SkSurfaceProps&);
|
| + GrDrawContext(GrContext*, GrDrawTarget*, const SkSurfaceProps* surfaceProps);
|
|
|
| // Checks if the context has been abandoned and if the rendertarget is owned by this context
|
| bool prepareToDraw(GrRenderTarget* rt);
|
| @@ -284,7 +282,7 @@ private:
|
|
|
| GrContext* fContext; // owning context -> no ref
|
| GrDrawTarget* fDrawTarget;
|
| - GrTextContext* fTextContext; // lazily created
|
| + GrTextContext* fTextContext; // lazily gotten from GrContext::DrawingMgr
|
|
|
| SkSurfaceProps fSurfaceProps;
|
| };
|
|
|