Index: extensions/renderer/BUILD.gn |
diff --git a/extensions/renderer/BUILD.gn b/extensions/renderer/BUILD.gn |
index a35e723b798cdd127d2f5fecff13d86cc4c2c53e..1bfceefda741d343457a1f296ec0fbd4cec44c13 100644 |
--- a/extensions/renderer/BUILD.gn |
+++ b/extensions/renderer/BUILD.gn |
@@ -13,6 +13,9 @@ source_set("renderer") { |
".", |
"//extensions") |
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
+ |
deps = [ |
"//chrome:resources", |
"//content:resources", |
@@ -22,8 +25,4 @@ source_set("renderer") { |
"//third_party/WebKit/public:blink", |
"//third_party/mojo/src/mojo/edk/js", |
] |
- |
- if (is_win) { |
- cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
- } |
} |