| Index: third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp b/third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp
|
| index 575bd1927f6414999ecc51b2423aac3b90497425..2003a62ac1eff3bc1d8f3899f06658f8c1550e1e 100644
|
| --- a/third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp
|
| @@ -129,7 +129,7 @@ TEST(WebTaskRunnerTest, CancellationCheckerTest) {
|
| // TaskHandle::isActive should detect the deletion of posted task.
|
| auto queue = taskRunner->takePendingTasksForTesting();
|
| ASSERT_EQ(1u, queue.size());
|
| - EXPECT_FALSE(queue[0].IsCancelled());
|
| + EXPECT_FALSE(queue[0].first.IsCancelled());
|
| EXPECT_TRUE(handle.isActive());
|
| queue.clear();
|
| EXPECT_FALSE(handle.isActive());
|
| @@ -145,10 +145,10 @@ TEST(WebTaskRunnerTest, CancellationCheckerTest) {
|
| // The cancellation of the posted task should be propagated to TaskHandle.
|
| queue = taskRunner->takePendingTasksForTesting();
|
| ASSERT_EQ(1u, queue.size());
|
| - EXPECT_FALSE(queue[0].IsCancelled());
|
| + EXPECT_FALSE(queue[0].first.IsCancelled());
|
| EXPECT_TRUE(handle.isActive());
|
| helper.revokeWeakPtrs();
|
| - EXPECT_TRUE(queue[0].IsCancelled());
|
| + EXPECT_TRUE(queue[0].first.IsCancelled());
|
| EXPECT_FALSE(handle.isActive());
|
| }
|
|
|
|
|