Index: chrome/common/time_format_browsertest.cc |
diff --git a/chrome/common/time_format_browsertest.cc b/chrome/common/time_format_browsertest.cc |
index 6b6fbf470dc74c36394e671744433d857d4183c9..0a110aacafc801533068b2ecfc7556dd8a620cac 100644 |
--- a/chrome/common/time_format_browsertest.cc |
+++ b/chrome/common/time_format_browsertest.cc |
@@ -35,6 +35,8 @@ IN_PROC_BROWSER_TEST_F(TimeFormatBrowserTest, DecimalPointNotDot) { |
// http://crbug.com/60476 |
base::string16 one_min = |
- ui::TimeFormat::TimeDurationShort(TimeDelta::FromMinutes(1)); |
+ ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_DURATION, |
+ ui::TimeFormat::LENGTH_SHORT, |
+ TimeDelta::FromMinutes(1)); |
EXPECT_EQ(base::ASCIIToUTF16("1 min"), one_min); |
} |