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

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

Issue 2588403002: TestingPlatformSupport: register Platform instance correctly (Closed)
Patch Set: review #32 Created 3 years, 11 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/LocaleMacTest.cpp
diff --git a/third_party/WebKit/Source/platform/text/LocaleMacTest.cpp b/third_party/WebKit/Source/platform/text/LocaleMacTest.cpp
index 956b133cd93b030b9064c8fdee32e5ae04ff9c4f..b04469db94fb384e26e701118ab653ea0820160d 100644
--- a/third_party/WebKit/Source/platform/text/LocaleMacTest.cpp
+++ b/third_party/WebKit/Source/platform/text/LocaleMacTest.cpp
@@ -189,7 +189,7 @@ class LocaleMacTest : public ::testing::Test {
};
TEST_F(LocaleMacTest, formatWeek) {
- LocalePlatformSupport support;
+ ScopedTestingPlatformSupport<LocalePlatformSupport> support;
EXPECT_STREQ("Week 04, 2005", formatWeek("en_US", "2005-W04").utf8().data());
EXPECT_STREQ("Week 52, 2005", formatWeek("en_US", "2005-W52").utf8().data());
}

Powered by Google App Engine
This is Rietveld 408576698