Index: third_party/WebKit/Source/build/scripts/make_css_property_names.py |
diff --git a/third_party/WebKit/Source/build/scripts/make_css_property_names.py b/third_party/WebKit/Source/build/scripts/make_css_property_names.py |
index 5049e0929636c55a05aacb0ad82d9d96962f201f..be23bb2d7c3bd49530de4d8b0f9d4302615338b3 100755 |
--- a/third_party/WebKit/Source/build/scripts/make_css_property_names.py |
+++ b/third_party/WebKit/Source/build/scripts/make_css_property_names.py |
@@ -87,6 +87,12 @@ GPERF_TEMPLATE = """ |
#include "wtf/text/AtomicString.h" |
#include "wtf/text/WTFString.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' |
+#pragma warning(disable : 4302) |
Will Harris
2015/11/10 18:05:14
where are these warnings generated from? do you ha
brucedawson
2015/11/10 18:43:26
They show up in two generated files and I've added
Will Harris
2015/11/10 19:45:45
Acknowledged.
|
+#endif |
+ |
namespace blink { |
static const char propertyNameStringsPool[] = { |
%(property_name_strings)s |