Index: webrtc/modules/congestion_controller/BUILD.gn |
diff --git a/webrtc/modules/congestion_controller/BUILD.gn b/webrtc/modules/congestion_controller/BUILD.gn |
index 8723fe4475300f83190e4c71c434ab366d230118..3835c190ea850ab71458be7a8ce204dc99ae44bc 100644 |
--- a/webrtc/modules/congestion_controller/BUILD.gn |
+++ b/webrtc/modules/congestion_controller/BUILD.gn |
@@ -14,16 +14,12 @@ source_set("congestion_controller") { |
"include/congestion_controller.h", |
] |
- if (is_win) { |
- cflags = [ |
- # TODO(jschuh): Bug 1348: fix this warning. |
- "/wd4267", # size_t to int truncations |
- ] |
- } |
- |
configs += [ "../..:common_config" ] |
public_configs = [ "../..:common_inherited_config" ] |
+ # TODO(jschuh): Bug 1348: fix this warning. |
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
+ |
if (is_clang) { |
# Suppress warnings from Chrome's Clang plugins. |
# See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |