Index: chrome/browser/views/tabs/tab_strip.cc |
diff --git a/chrome/browser/views/tabs/tab_strip.cc b/chrome/browser/views/tabs/tab_strip.cc |
index 3ff6d456bc98da5589ae3a4b2eb3a470a332f399..d615e7a1e645565ea8cb254c75154b42b822e4d4 100644 |
--- a/chrome/browser/views/tabs/tab_strip.cc |
+++ b/chrome/browser/views/tabs/tab_strip.cc |
@@ -36,6 +36,12 @@ |
#undef min |
#undef max |
+#if defined(COMPILER_GCC) |
+// Squash false positive signed overflow warning in GenerateStartAndEndWidths |
+// when doing 'start_tab_count < end_tab_count'. |
+#pragma GCC diagnostic ignored "-Wstrict-overflow" |
+#endif |
+ |
using views::DropTargetEvent; |
static const int kDefaultAnimationDurationMs = 100; |