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

Unified Diff: third_party/WebKit/Source/core/dom/MainThreadTaskRunnerTest.cpp

Issue 1362973004: Rename FROM_HERE to BLINK_FROM_HERE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 2 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/core/dom/MainThreadTaskRunnerTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/MainThreadTaskRunnerTest.cpp b/third_party/WebKit/Source/core/dom/MainThreadTaskRunnerTest.cpp
index 9362bf5df3d6323de2ea9fa3691931f55bf24c2e..082fdf3efc1a1bb8e47653c1447dfdf2dfa3ca4b 100644
--- a/third_party/WebKit/Source/core/dom/MainThreadTaskRunnerTest.cpp
+++ b/third_party/WebKit/Source/core/dom/MainThreadTaskRunnerTest.cpp
@@ -66,7 +66,7 @@ TEST(MainThreadTaskRunnerTest, PostTask)
OwnPtrWillBeRawPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get());
bool isMarked = false;
- runner->postTask(FROM_HERE, MarkingBooleanTask::create(&isMarked));
+ runner->postTask(BLINK_FROM_HERE, MarkingBooleanTask::create(&isMarked));
EXPECT_FALSE(isMarked);
blink::testing::runPendingTasks();
EXPECT_TRUE(isMarked);
@@ -79,7 +79,7 @@ TEST(MainThreadTaskRunnerTest, SuspendTask)
bool isMarked = false;
context->setTasksNeedSuspension(true);
- runner->postTask(FROM_HERE, MarkingBooleanTask::create(&isMarked));
+ runner->postTask(BLINK_FROM_HERE, MarkingBooleanTask::create(&isMarked));
runner->suspend();
blink::testing::runPendingTasks();
EXPECT_FALSE(isMarked);
@@ -97,7 +97,7 @@ TEST(MainThreadTaskRunnerTest, RemoveRunner)
bool isMarked = false;
context->setTasksNeedSuspension(true);
- runner->postTask(FROM_HERE, MarkingBooleanTask::create(&isMarked));
+ runner->postTask(BLINK_FROM_HERE, MarkingBooleanTask::create(&isMarked));
runner.clear();
blink::testing::runPendingTasks();
EXPECT_FALSE(isMarked);
« no previous file with comments | « third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp ('k') | third_party/WebKit/Source/core/dom/MessagePort.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698