Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 228169b27afcd3c9ad381e4733d5bc2e9c14e013..2c27f17b386b29c3002c7ade410b49fe5ab6313e 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -4231,8 +4231,8 @@ |
# Don't die on dtoa code that uses a char as an array index. |
# This is required solely for base/third_party/dmg_fp/dtoa.cc. |
'-Wno-char-subscripts', |
- # Clang spots more unused functions. TODO: remove, crbug.com/315884 |
- '-Wno-unused-function', |
+ # See comment in the mac clang section above for this flag. |
+ '-Wno-unneeded-internal-declaration', |
# Match OS X clang C++11 warning settings. |
'-Wno-c++11-narrowing', |
], |