Fix SkAtomics_win.h typos.
NOTRY=true BUG=skia: R=mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/293363017 git-svn-id: http://skia.googlecode.com/svn/trunk@14930 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
3fdc7d6dd1
commit
5133fc1c06
@ -41,7 +41,7 @@ static inline bool sk_atomic_cas(int32_t* addr, int32_t before, int32_t after) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inline void* sk_atomic_cas(void** addr, void* before, void* after) {
|
static inline void* sk_atomic_cas(void** addr, void* before, void* after) {
|
||||||
return InterlockedCompareExchange(reinterpret_cast<long*>(addr), after, before);
|
return InterlockedCompareExchangePointer(addr, after, before);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void sk_membar_acquire__after_atomic_conditional_inc() { }
|
static inline void sk_membar_acquire__after_atomic_conditional_inc() { }
|
||||||
|
Loading…
Reference in New Issue
Block a user