| Index: third_party/WebKit/Source/wtf/Alignment.h
|
| diff --git a/third_party/WebKit/Source/wtf/Alignment.h b/third_party/WebKit/Source/wtf/Alignment.h
|
| index 6b92b816cea2d4780b03b9fd96ec919e67565c90..e4378f96d770143723ad130bff29edcfb3fa48e6 100644
|
| --- a/third_party/WebKit/Source/wtf/Alignment.h
|
| +++ b/third_party/WebKit/Source/wtf/Alignment.h
|
| @@ -27,11 +27,10 @@
|
|
|
| namespace WTF {
|
|
|
| +#define WTF_ALIGN_OF(type) alignof(type)
|
| #if COMPILER(GCC)
|
| -#define WTF_ALIGN_OF(type) __alignof__(type)
|
| #define WTF_ALIGNED(variable_type, variable, n) variable_type variable __attribute__((__aligned__(n)))
|
| #elif COMPILER(MSVC)
|
| -#define WTF_ALIGN_OF(type) __alignof(type)
|
| #define WTF_ALIGNED(variable_type, variable, n) __declspec(align(n)) variable_type variable
|
| #else
|
| #error WTF_ALIGN macros need alignment control.
|
|
|