Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: include/gpu/GrDrawContext.h

Issue 1565303003: Revert of Make a single GrSingleOwner in GrContext (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/gpu/GrContext.h ('k') | include/private/GrSingleOwner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrDrawContext.h
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
index 7ae6f5e682b210b230185b4606c0b958960bd7de..21977bed7415eb64459a607e3a52c2a5f20b6112 100644
--- a/include/gpu/GrDrawContext.h
+++ b/include/gpu/GrDrawContext.h
@@ -283,8 +283,7 @@
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 @@
SkSurfaceProps fSurfaceProps;
// In debug builds we guard against improper thread handling
- mutable GrSingleOwner* fSingleOwner;
+ SkDEBUGCODE(mutable GrSingleOwner fSingleOwner;)
};
#endif
« no previous file with comments | « include/gpu/GrContext.h ('k') | include/private/GrSingleOwner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698