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 d21003a280ab37c5abf8d215a294c3d0fa5a866d..0293b84907db18857d0ce06f18f0c8d6d3fb72a9 100644 |
--- a/third_party/WebKit/Source/wtf/FunctionalTest.cpp |
+++ b/third_party/WebKit/Source/wtf/FunctionalTest.cpp |
@@ -576,7 +576,7 @@ TEST(FunctionalTest, WeakPtr) |
{ |
HasWeakPtrSupport obj; |
int counter = 0; |
- std::unique_ptr<WTF::SameThreadClosure> bound = WTF::bind(&HasWeakPtrSupport::increment, obj.createWeakPtr(), WTF::unretained(&counter)); |
+ std::unique_ptr<WTF::Closure> bound = WTF::bind(&HasWeakPtrSupport::increment, obj.createWeakPtr(), WTF::unretained(&counter)); |
(*bound)(); |
EXPECT_EQ(1, counter); |