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/private/GrSingleOwner.h

Issue 1563703004: 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
Index: include/private/GrSingleOwner.h
diff --git a/include/private/GrSingleOwner.h b/include/private/GrSingleOwner.h
index e793e9e9737990b7f76d7649a8344921f0ab3e27..15ac803704ef6435fffcd3f69b2e226ce8ff58ea 100644
--- a/include/private/GrSingleOwner.h
+++ b/include/private/GrSingleOwner.h
@@ -47,6 +47,8 @@ private:
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

Powered by Google App Engine
This is Rietveld 408576698