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

Unified Diff: third_party/WebKit/Source/platform/text/LocaleWinTest.cpp

Issue 1897163002: Remove ENABLE(INPUT_MULTIPLE_FIELDS_UI) conditional compilation in platform/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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
Index: third_party/WebKit/Source/platform/text/LocaleWinTest.cpp
diff --git a/third_party/WebKit/Source/platform/text/LocaleWinTest.cpp b/third_party/WebKit/Source/platform/text/LocaleWinTest.cpp
index a4ebc278068afff3f398db77450945c7d3f6d0b7..898fe5bf5d456fa0559c22d5e395c15f534317e9 100644
--- a/third_party/WebKit/Source/platform/text/LocaleWinTest.cpp
+++ b/third_party/WebKit/Source/platform/text/LocaleWinTest.cpp
@@ -112,7 +112,6 @@ protected:
return locale->isRTL();
}
-#if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
String monthFormat(LCID lcid)
{
OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true /* defaultsForLocale */);
@@ -148,7 +147,6 @@ protected:
OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true /* defaultsForLocale */);
return locale->localizedDecimalSeparator();
}
-#endif
};
TEST_F(LocaleWinTest, formatDate)
@@ -201,7 +199,6 @@ TEST_F(LocaleWinTest, isRTL)
EXPECT_FALSE(isRTL(EnglishUS));
}
-#if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
TEST_F(LocaleWinTest, dateFormat)
{
EXPECT_STREQ("y-M-d", LocaleWin::dateFormat("y-M-d").utf8().data());
@@ -261,7 +258,6 @@ TEST_F(LocaleWinTest, decimalSeparator)
EXPECT_STREQ(".", decimalSeparator(EnglishUS).utf8().data());
EXPECT_STREQ(",", decimalSeparator(FrenchFR).utf8().data());
}
-#endif
static void testNumberIsReversible(LCID lcid, const char* original, const char* shouldHave = 0)
{
« no previous file with comments | « third_party/WebKit/Source/platform/text/LocaleMacTest.cpp ('k') | third_party/WebKit/Source/platform/text/PlatformLocale.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698