aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrDrawContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrDrawContext.h')
-rw-r--r--include/gpu/GrDrawContext.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
index 7ae6f5e682..21977bed74 100644
--- a/include/gpu/GrDrawContext.h
+++ b/include/gpu/GrDrawContext.h
@@ -283,8 +283,7 @@ private:
SkDEBUGCODE(void validate() const;)
- GrDrawContext(GrDrawingManager*, GrRenderTarget*, const SkSurfaceProps* surfaceProps,
- GrSingleOwner*);
+ GrDrawContext(GrDrawingManager*, GrRenderTarget*, const SkSurfaceProps* surfaceProps);
void internalDrawPath(GrPipelineBuilder*,
const SkMatrix& viewMatrix,
@@ -310,7 +309,7 @@ private:
SkSurfaceProps fSurfaceProps;
// In debug builds we guard against improper thread handling
- mutable GrSingleOwner* fSingleOwner;
+ SkDEBUGCODE(mutable GrSingleOwner fSingleOwner;)
};
#endif