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 @@ 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 |