| 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..6de13f31bcafb5a414c4d248d69fc51b1e3a12e2 100644
|
| --- a/third_party/WebKit/Source/platform/text/LocaleMacTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/text/LocaleMacTest.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "wtf/DateMath.h"
|
| #include "wtf/MathExtras.h"
|
| +#include "wtf/PtrUtil.h"
|
| #include "wtf/text/CString.h"
|
| #include <memory>
|
|
|
| @@ -189,7 +190,8 @@ class LocaleMacTest : public ::testing::Test {
|
| };
|
|
|
| TEST_F(LocaleMacTest, formatWeek) {
|
| - LocalePlatformSupport support;
|
| + ScopedTestingPlatformSupport<LocalePlatformSupport> support(
|
| + WTFL::makeUnique<LocalePlatformSupport>());
|
| EXPECT_STREQ("Week 04, 2005", formatWeek("en_US", "2005-W04").utf8().data());
|
| EXPECT_STREQ("Week 52, 2005", formatWeek("en_US", "2005-W52").utf8().data());
|
| }
|
|
|