Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: components/autofill/core/browser/autofill_field_unittest.cc

Issue 1517103003: Disable VS 2015 warning about global constructor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added necessary #ifdefs Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_field_unittest.cc
diff --git a/components/autofill/core/browser/autofill_field_unittest.cc b/components/autofill/core/browser/autofill_field_unittest.cc
index 27cdd2f1f73ec4a67e800489efc13b417d5a62cd..e4dd5dc334679e8168ce939b506bdbf31931efae 100644
--- a/components/autofill/core/browser/autofill_field_unittest.cc
+++ b/components/autofill/core/browser/autofill_field_unittest.cc
@@ -19,6 +19,12 @@ using base::UTF8ToUTF16;
namespace autofill {
namespace {
+#if defined(OS_WIN)
+// VS 2015 gives a warning about its limitations:
+// warning C4592: symbol will be dynamically initialized
+#pragma warning(disable : 4592)
+#endif
+
const std::vector<const char*> kNotNumericMonthsContentsNoPlaceholder = {
"Jan", "Fev", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698