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

Unified Diff: include/core/SkSpinlock.h

Issue 1229003004: Fix componene debug build failure in chromium (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: alternative way Created 5 years, 5 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/core/SkSpinlock.h
diff --git a/include/core/SkSpinlock.h b/include/core/SkSpinlock.h
index 6edfdf0367296cd114c93c5edc02d95736320285..82a2841db6750c9f12c37e62ad9215e27aadc39e 100644
--- a/include/core/SkSpinlock.h
+++ b/include/core/SkSpinlock.h
@@ -15,7 +15,7 @@
#define SK_DECLARE_STATIC_SPINLOCK(name) namespace {} static SkPODSpinlock name
// This class has no constructor and must be zero-initialized (the macro above does this).
-class SkPODSpinlock {
+class SK_API SkPODSpinlock {
public:
void acquire() {
// To act as a mutex, we need an acquire barrier if we take the lock.
« 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