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

Unified Diff: include/private/SkSpinlock.h

Issue 1757993006: Make Cmake work with debug build (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/private/SkSpinlock.h
diff --git a/include/private/SkSpinlock.h b/include/private/SkSpinlock.h
index a049f1f726a8db827e6610c026ce18aa43c15922..27442068717b319f6bd56cda1fc327150b71f057 100644
--- a/include/private/SkSpinlock.h
+++ b/include/private/SkSpinlock.h
@@ -8,6 +8,7 @@
#ifndef SkSpinlock_DEFINED
#define SkSpinlock_DEFINED
+#include "SkTypes.h"
#include <atomic>
class SkSpinlock {
@@ -26,7 +27,7 @@ public:
}
private:
- void contendedAcquire();
+ SK_API void contendedAcquire();
std::atomic<bool> fLocked{false};
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698