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

Unified Diff: third_party/WebKit/Source/platform/text/LocaleICUTest.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/LocaleICUTest.cpp
diff --git a/third_party/WebKit/Source/platform/text/LocaleICUTest.cpp b/third_party/WebKit/Source/platform/text/LocaleICUTest.cpp
index 10a9305fc427b9192166d72cdc3267149c246889..729f0b2eef96cfde4d8fd68433a785f24a7c60c0 100644
--- a/third_party/WebKit/Source/platform/text/LocaleICUTest.cpp
+++ b/third_party/WebKit/Source/platform/text/LocaleICUTest.cpp
@@ -87,7 +87,6 @@ protected:
return Labels(labels);
}
-#if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
String monthFormat(const char* localeString)
{
OwnPtr<LocaleICU> locale = LocaleICU::create(localeString);
@@ -135,7 +134,6 @@ protected:
OwnPtr<LocaleICU> locale = LocaleICU::create(localeString);
return locale->isRTL();
}
-#endif
};
std::ostream& operator<<(std::ostream& os, const LocaleICUTest::Labels& labels)
@@ -143,7 +141,6 @@ std::ostream& operator<<(std::ostream& os, const LocaleICUTest::Labels& labels)
return os << labels.toString().utf8().data();
}
-#if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
TEST_F(LocaleICUTest, isRTL)
{
EXPECT_TRUE(isRTL("ar-EG"));
@@ -249,7 +246,6 @@ TEST_F(LocaleICUTest, localizedDecimalSeparator)
EXPECT_EQ(String("."), testDecimalSeparator("en_US"));
EXPECT_EQ(String(","), testDecimalSeparator("fr"));
}
-#endif
void testNumberIsReversible(const AtomicString& localeIdentifier, const char* original, const char* shouldHave = 0)
{

Powered by Google App Engine
This is Rietveld 408576698