| Index: src/ports/SkMutex_win.h
|
| diff --git a/src/ports/SkMutex_win.h b/src/ports/SkMutex_win.h
|
| index ccad063c2796c6b9ffea899ff6aa35971499e6ee..fe06336a90a0c6000e8d38c9e1f906a5750b0258 100644
|
| --- a/src/ports/SkMutex_win.h
|
| +++ b/src/ports/SkMutex_win.h
|
| @@ -74,8 +74,6 @@ class SkMutex : public SkBaseMutex { };
|
|
|
| // Windows currently provides no documented means of POD initializing a CRITICAL_SECTION.
|
| // As a result, it is illegal to SK_DECLARE_STATIC_MUTEX in a function.
|
| -#define SK_DECLARE_STATIC_MUTEX(name) \
|
| - static inline void SK_MACRO_APPEND_LINE(name)(){} \
|
| - static SkBaseMutex name
|
| +#define SK_DECLARE_STATIC_MUTEX(name) namespace{} static SkBaseMutex name
|
|
|
| #endif
|
|
|