Index: components/printing/renderer/BUILD.gn |
diff --git a/components/printing/renderer/BUILD.gn b/components/printing/renderer/BUILD.gn |
index 768c95bf78cf6106fcc89a05406649255a98fe2e..c31bb8e980ef33bf2f4291ebf9f67de06667a42f 100644 |
--- a/components/printing/renderer/BUILD.gn |
+++ b/components/printing/renderer/BUILD.gn |
@@ -12,6 +12,9 @@ static_library("printing_renderer") { |
"print_web_view_helper_pdf_win.cc", |
] |
+ # TODO(dgn): crbug.com/167187 fix size_t to int truncations. |
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
+ |
deps = [ |
"//base", |
"//components/printing/common:printing_common", |
@@ -23,9 +26,4 @@ static_library("printing_renderer") { |
"//third_party/WebKit/public:blink", |
"//ui/base", |
] |
- |
- if (is_win) { |
- # TODO(dgn): crbug.com/167187 fix size_t to int truncations. |
- cflags = [ "/wd4267" ] |
- } |
} |