Commit 0349534f authored by Yeol's avatar Yeol Committed by Commit Bot

Rename TaskRunner::RunsTasksOnCurrentThread() in //chrome, //content

Renamed TaskRunner::RunsTasksOnCurrentThread() to

TaskRunner: :RunsTasksInCurrentSequence() in //chrome, //content
Bug: 665062
Change-Id: I2d6a309bb5f116e521da91a7f66b4fe8b756a386
Reviewed-on: https://chromium-review.googlesource.com/558326
Commit-Queue: Avi Drissman <avi@chromium.org>
Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Reviewed-by: default avatarJochen Eisinger <jochen@chromium.org>
Reviewed-by: default avatarKen Rockot <rockot@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488670}
parent c34dd354
......@@ -120,7 +120,7 @@ void TaskbarIconFinder::RunOnComThread(
scoped_refptr<base::SequencedTaskRunner> finder_runner,
TaskbarIconFinder* finder) {
// This and all methods below must be called on the automation thread.
DCHECK(!finder_runner->RunsTasksOnCurrentThread());
DCHECK(!finder_runner->RunsTasksInCurrentSequence());
gfx::Rect rect;
DoOnComThread(&rect);
......
......@@ -164,7 +164,7 @@ TEST_F(BrowserThreadTest, PostTaskAndReply) {
base::RunLoop().Run();
}
TEST_F(BrowserThreadTest, RunsTasksOnCurrentThreadDuringShutdown) {
TEST_F(BrowserThreadTest, RunsTasksInCurrentSequencedDuringShutdown) {
bool did_shutdown = false;
base::RunLoop loop;
UIThreadDestructionObserver observer(&did_shutdown, loop.QuitClosure());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment