Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(689)

Unified Diff: third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698