Index: ui/base/ime/BUILD.gn |
diff --git a/ui/base/ime/BUILD.gn b/ui/base/ime/BUILD.gn |
index 53b002e44c9682c84580ffd370a3ebbf2e4deb3f..e6974021af55bde3df9be9c81e5dde852fb8aaab 100644 |
--- a/ui/base/ime/BUILD.gn |
+++ b/ui/base/ime/BUILD.gn |
@@ -99,6 +99,9 @@ component("ime") { |
"win/tsf_input_scope.h", |
] |
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
+ |
defines = [ "UI_BASE_IME_IMPLEMENTATION" ] |
deps = [ |
@@ -164,7 +167,6 @@ component("ime") { |
if (is_win) { |
cflags = [ |
- "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int. |
"/wd4324", # Structure was padded due to __declspec(align()), which is |
# uninteresting. |
] |