Index: webkit/common/gpu/BUILD.gn |
diff --git a/webkit/common/gpu/BUILD.gn b/webkit/common/gpu/BUILD.gn |
index 43e0a64ac6d49ea2e1366b99e4a68686ef8b8aa3..35b30bd43330ad57def98a2346c776e361d5d525 100644 |
--- a/webkit/common/gpu/BUILD.gn |
+++ b/webkit/common/gpu/BUILD.gn |
@@ -15,11 +15,11 @@ component("gpu") { |
] |
defines = [ "WEBKIT_GPU_IMPLEMENTATION" ] |
- configs += [ "//build/config/compiler:wexit_time_destructors" ] |
- if (is_win) { |
+ configs += [ |
+ "//build/config/compiler:wexit_time_destructors", |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
- cflags = [ "/wd4267" ] |
- } |
+ "//build/config/compiler:no_size_t_to_int_warning", |
+ ] |
deps = [ |
"//base", |