| 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 03c6e7c6ce0f17aafefc67b7628f06c8eb9dce49..ef6ccc262d4427058172b1d208b0c547a79f5afe 100644
|
| --- a/third_party/WebKit/Source/wtf/FunctionalTest.cpp
|
| +++ b/third_party/WebKit/Source/wtf/FunctionalTest.cpp
|
| @@ -589,9 +589,11 @@ TEST(FunctionalTest, WeakPtr)
|
| std::unique_ptr<WTF::Closure> bound = WTF::bind(&HasWeakPtrSupport::increment, obj.createWeakPtr(), WTF::unretained(&counter));
|
|
|
| (*bound)();
|
| + EXPECT_FALSE(bound->isCancelled());
|
| EXPECT_EQ(1, counter);
|
|
|
| obj.revokeAll();
|
| + EXPECT_TRUE(bound->isCancelled());
|
| (*bound)();
|
| EXPECT_EQ(1, counter);
|
| }
|
|
|