aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar dongseong.hwang <dongseong.hwang@intel.com>2015-07-10 08:32:23 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-10 08:32:23 -0700
commit5ce8b438da24b7a2f2de771d9276a6a6789236a2 (patch)
tree0a61f3129d37f71ea8153810b8023c9b478d86d8 /include
parent21cea726e743aa05720adea456f26fcd58318505 (diff)
Fix componene debug build failure in chromium
The error log is as follows: ../../third_party/skia/include/core/SkSpinlock.h:24: error: undefined reference to 'SkPODSpinlock::contendedAcquire()' collect2: error: ld returned 1 exit status [mtklein added below here] Despite the presence in include/ and the added SK_API, this file is not part of Skia's public API... it's just used by files which are. TBR=reed@google.com Review URL: https://codereview.chromium.org/1229003004
Diffstat (limited to 'include')
-rw-r--r--include/core/SkSpinlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkSpinlock.h b/include/core/SkSpinlock.h
index 6edfdf0367..82a2841db6 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.