Index: src/core/SkSharedMutex.h |
diff --git a/src/core/SkSharedMutex.h b/src/core/SkSharedMutex.h |
index 21c9f46d64058f28e4d1273d5b40095340a8a4dd..840c2d36adf152b50087675eb1140c78001dd407 100644 |
--- a/src/core/SkSharedMutex.h |
+++ b/src/core/SkSharedMutex.h |
@@ -14,7 +14,7 @@ |
#ifdef SK_DEBUG |
#include "SkMutex.h" |
- #include <memory> |
+ #include "SkUniquePtr.h" |
#endif // SK_DEBUG |
// There are two shared lock implementations one debug the other is high performance. They implement |
@@ -50,9 +50,9 @@ |
private: |
#ifdef SK_DEBUG |
class ThreadIDSet; |
- std::unique_ptr<ThreadIDSet> fCurrentShared; |
- std::unique_ptr<ThreadIDSet> fWaitingExclusive; |
- std::unique_ptr<ThreadIDSet> fWaitingShared; |
+ skstd::unique_ptr<ThreadIDSet> fCurrentShared; |
+ skstd::unique_ptr<ThreadIDSet> fWaitingExclusive; |
+ skstd::unique_ptr<ThreadIDSet> fWaitingShared; |
int fSharedQueueSelect{0}; |
mutable SkMutex fMu; |
SkSemaphore fSharedQueue[2]; |