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 22d2967e582017563382eb6f65ed8caa8cbe3067..b2fdbb2a9809a3cec1f574d814a1752682cf348d 100644 |
--- a/third_party/WebKit/Source/platform/heap/PersistentTest.cpp |
+++ b/third_party/WebKit/Source/platform/heap/PersistentTest.cpp |
@@ -4,9 +4,9 @@ |
#include "platform/heap/Persistent.h" |
-#include "platform/CrossThreadFunctional.h" |
#include "platform/heap/Handle.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "wtf/Functional.h" |
#include <memory> |
namespace blink { |
@@ -46,7 +46,7 @@ TEST(PersistentTest, CrossThreadBindCancellation) |
{ |
Receiver* receiver = new Receiver; |
int counter = 0; |
- std::unique_ptr<CrossThreadClosure> function = blink::crossThreadBind(&Receiver::increment, wrapCrossThreadWeakPersistent(receiver), WTF::crossThreadUnretained(&counter)); |
+ std::unique_ptr<CrossThreadClosure> function = crossThreadBind(&Receiver::increment, wrapCrossThreadWeakPersistent(receiver), WTF::crossThreadUnretained(&counter)); |
(*function)(); |
EXPECT_EQ(1, counter); |