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

Unified Diff: include/private/GrSingleOwner.h

Issue 1572653002: Reland 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/GrDrawContext.h ('k') | src/gpu/GrContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/private/GrSingleOwner.h
diff --git a/include/private/GrSingleOwner.h b/include/private/GrSingleOwner.h
index dea982e89a048ffe0cb74ed7371f07f7f16ffe4a..64e63d3b19f8bbfb9a5af32e4d9447ad5f301462 100644
--- a/include/private/GrSingleOwner.h
+++ b/include/private/GrSingleOwner.h
@@ -48,6 +48,8 @@
SkThreadID fOwner; // guarded by fMutex
int fReentranceCount; // guarded by fMutex
};
+#else
+class GrSingleOwner {}; // Provide a dummy implementation so we can pass pointers to constructors
#endif
#endif
« no previous file with comments | « include/gpu/GrDrawContext.h ('k') | src/gpu/GrContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698