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

Unified Diff: tools/gn/input_file_manager.cc

Issue 2515383005: gn: Remove Scheduler::pool(). (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | tools/gn/scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/input_file_manager.cc
diff --git a/tools/gn/input_file_manager.cc b/tools/gn/input_file_manager.cc
index c695655658dc13988c94d66ef0bbd068fe68648f..9fd3def7cc7c8d4bd0fc9d3ee615ab15b2790ba5 100644
--- a/tools/gn/input_file_manager.cc
+++ b/tools/gn/input_file_manager.cc
@@ -147,9 +147,7 @@ bool InputFileManager::AsyncLoadFile(const LocationRange& origin,
}
}
}
- g_scheduler->pool()->PostWorkerTaskWithShutdownBehavior(
- FROM_HERE, schedule_this,
- base::SequencedWorkerPool::BLOCK_SHUTDOWN);
+ g_scheduler->ScheduleWork(schedule_this);
return true;
}
« no previous file with comments | « no previous file | tools/gn/scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698