Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 01078b9384fc21099918f1ac35a977ed4c167e81..228169b27afcd3c9ad381e4733d5bc2e9c14e013 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -3223,8 +3223,10 @@ |
# Don't die on dtoa code that uses a char as an array index. |
'-Wno-char-subscripts', |
- # Clang spots more unused functions. TODO remove, crbug.com/315884 |
- '-Wno-unused-function', |
+ # TODO(thakis): This used to be implied by -Wno-unused-function, |
+ # which we no longer use. Check if it makes sense to remove |
+ # this as well. http://crbug.com/316352 |
+ '-Wno-unneeded-internal-declaration', |
# Warns on switches on enums that cover all enum values but |
# also contain a default: branch. Chrome is full of that. |