| Index: third_party/WebKit/Source/wtf/FunctionalTest.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/FunctionalTest.cpp b/third_party/WebKit/Source/wtf/FunctionalTest.cpp
|
| index 8157975c4aff68e484a2331f7e4d2dc6f750764e..174d26d47043517999450bd46f32e10742382c71 100644
|
| --- a/third_party/WebKit/Source/wtf/FunctionalTest.cpp
|
| +++ b/third_party/WebKit/Source/wtf/FunctionalTest.cpp
|
| @@ -318,13 +318,13 @@ TEST(FunctionalTest, MemberFunctionPartBind) {
|
|
|
| TEST(FunctionalTest, MemberFunctionBindByUniquePtr) {
|
| std::unique_ptr<Function<int()>> function1 =
|
| - WTF::bind(&A::f, wrapUnique(new A(10)));
|
| + WTF::bind(&A::f, makeUnique<A>(10));
|
| EXPECT_EQ(10, (*function1)());
|
| }
|
|
|
| TEST(FunctionalTest, MemberFunctionBindByPassedUniquePtr) {
|
| std::unique_ptr<Function<int()>> function1 =
|
| - WTF::bind(&A::f, passed(wrapUnique(new A(10))));
|
| + WTF::bind(&A::f, passed(makeUnique<A>(10)));
|
| EXPECT_EQ(10, (*function1)());
|
| }
|
|
|
|
|