Revert of Fix SkAtomics_win.h typos. (https://codereview.chromium.org/293363017/)
Reason for revert: depends on bad cl Original issue's description: > Fix SkAtomics_win.h typos. > > NOTRY=true > > BUG=skia: > > Committed: http://code.google.com/p/skia/source/detail?r=14930 R=mtklein@chromium.org TBR=mtklein@chromium.org NOTREECHECKS=true NOTRY=true BUG=skia: Author: mtklein@google.com Review URL: https://codereview.chromium.org/304503011 git-svn-id: http://skia.googlecode.com/svn/trunk@14932 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
a32260db15
commit
6640ee3378
@ -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 InterlockedCompareExchangePointer(addr, after, before);
|
return InterlockedCompareExchange(reinterpret_cast<long*>(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