aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrDrawContext.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2016-01-07 11:32:39 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-07 11:32:40 -0800
commitf9bc796e0dbd31674c22b34761913ee6e8fdd66a (patch)
treee3df859198b69533e4c7d96c20662ca3a84d8e68 /include/gpu/GrDrawContext.h
parentbfd5f171e6a3eccd7c4bede652a85fd76bcbce2a (diff)
Make a single GrSingleOwner in GrContext
Diffstat (limited to 'include/gpu/GrDrawContext.h')
-rw-r--r--include/gpu/GrDrawContext.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
index 21977bed74..7ae6f5e682 100644
--- a/include/gpu/GrDrawContext.h
+++ b/include/gpu/GrDrawContext.h
@@ -283,7 +283,8 @@ private:
SkDEBUGCODE(void validate() const;)
- GrDrawContext(GrDrawingManager*, GrRenderTarget*, const SkSurfaceProps* surfaceProps);
+ GrDrawContext(GrDrawingManager*, GrRenderTarget*, const SkSurfaceProps* surfaceProps,
+ GrSingleOwner*);
void internalDrawPath(GrPipelineBuilder*,
const SkMatrix& viewMatrix,
@@ -309,7 +310,7 @@ private:
SkSurfaceProps fSurfaceProps;
// In debug builds we guard against improper thread handling
- SkDEBUGCODE(mutable GrSingleOwner fSingleOwner;)
+ mutable GrSingleOwner* fSingleOwner;
};
#endif