| Index: third_party/WebKit/Source/platform/heap/PersistentTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/PersistentTest.cpp b/third_party/WebKit/Source/platform/heap/PersistentTest.cpp
|
| index ce5932a37a08583346c8b90249087119bf8dfec5..8c9d22678ebc1e85d2bf71a46c413957dc44ec2d 100644
|
| --- a/third_party/WebKit/Source/platform/heap/PersistentTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/PersistentTest.cpp
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "platform/heap/Persistent.h"
|
|
|
| -#include "platform/ThreadSafeFunctional.h"
|
| +#include "platform/CrossThreadFunctional.h"
|
| #include "platform/heap/Handle.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include <memory>
|
| @@ -46,7 +46,7 @@ TEST(PersistentTest, CrossThreadBindCancellation)
|
| {
|
| Receiver* receiver = new Receiver;
|
| int counter = 0;
|
| - std::unique_ptr<CrossThreadClosure> function = blink::threadSafeBind(&Receiver::increment, wrapCrossThreadWeakPersistent(receiver), WTF::crossThreadUnretained(&counter));
|
| + std::unique_ptr<CrossThreadClosure> function = blink::crossThreadBind(&Receiver::increment, wrapCrossThreadWeakPersistent(receiver), WTF::crossThreadUnretained(&counter));
|
|
|
| (*function)();
|
| EXPECT_EQ(1, counter);
|
|
|