Index: cc/BUILD.gn |
diff --git a/cc/BUILD.gn b/cc/BUILD.gn |
index b97bb6c65d210a8ff3144612bbf64ac171e37552..5fb090994ba31f904304b2396583a0764652f57c 100644 |
--- a/cc/BUILD.gn |
+++ b/cc/BUILD.gn |
@@ -536,10 +536,8 @@ component("cc") { |
"trees/tree_synchronizer.h", |
] |
- if (is_win) { |
- # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
- cflags = [ "/wd4267" ] # size_t -> int |
- } |
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
public_deps = [ |
"//skia", |