| Index: third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
|
| diff --git a/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py b/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
|
| index 8c2430d91a400f93d444eed09b8f679a7f14c850..8ac8c025231ef506b7c8a5f2fa3c712b4a10dcd5 100755
|
| --- a/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
|
| +++ b/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
|
| @@ -46,6 +46,13 @@ GPERF_TEMPLATE = """
|
| #include "core/css/HashTools.h"
|
| #include <string.h>
|
|
|
| +#ifdef _MSC_VER
|
| +// Disable the warnings from casting a 64-bit pointer to 32-bit long
|
| +// warning C4302: 'type cast': truncation from 'char (*)[28]' to 'long'
|
| +// warning C4311: 'type cast': pointer truncation from 'char (*)[18]' to 'long'
|
| +#pragma warning(disable : 4302 4311)
|
| +#endif
|
| +
|
| namespace blink {
|
| static const char valueListStringPool[] = {
|
| %(value_keyword_strings)s
|
|
|