| 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..0a979581c9b1639cc957eeaa71aa0232f279bda6 100644
|
| --- a/third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp
|
| @@ -109,8 +109,9 @@ TEST(WebTaskRunnerTest, PostCancellableTaskTest) {
|
| // handle->isActive() should switch to false before the task starts running.
|
| bool isActive = false;
|
| handle = taskRunner->postCancellableTask(
|
| - BLINK_FROM_HERE, WTF::bind(&getIsActive, WTF::unretained(&isActive),
|
| - WTF::unretained(&handle)));
|
| + BLINK_FROM_HERE,
|
| + WTF::bind(&getIsActive, WTF::unretained(&isActive),
|
| + WTF::unretained(&handle)));
|
| EXPECT_TRUE(handle.isActive());
|
| taskRunner->runUntilIdle();
|
| EXPECT_FALSE(isActive);
|
| @@ -138,8 +139,9 @@ TEST(WebTaskRunnerTest, CancellationCheckerTest) {
|
| count = 0;
|
| CancellationTestHelper helper;
|
| handle = taskRunner->postCancellableTask(
|
| - BLINK_FROM_HERE, WTF::bind(&CancellationTestHelper::incrementCounter,
|
| - helper.createWeakPtr()));
|
| + BLINK_FROM_HERE,
|
| + WTF::bind(&CancellationTestHelper::incrementCounter,
|
| + helper.createWeakPtr()));
|
| EXPECT_EQ(0, helper.counter());
|
|
|
| // The cancellation of the posted task should be propagated to TaskHandle.
|
|
|