summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_shutdown.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_shutdown.cc')
-rw-r--r--chrome/browser/browser_shutdown.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/browser_shutdown.cc b/chrome/browser/browser_shutdown.cc
index 7f2e4a6..bee0d0c 100644
--- a/chrome/browser/browser_shutdown.cc
+++ b/chrome/browser/browser_shutdown.cc
@@ -100,8 +100,8 @@ FilePath GetShutdownMsPath() {
void Shutdown() {
// Unload plugins. This needs to happen on the IO thread.
- ChromeThread::PostTask(
- ChromeThread::IO, FROM_HERE,
+ BrowserThread::PostTask(
+ BrowserThread::IO, FROM_HERE,
NewRunnableFunction(&ChromePluginLib::UnloadAllPlugins));
// Shutdown all IPC channels to service processes.
@@ -229,7 +229,7 @@ void ReadLastShutdownFile(
ShutdownType type,
int num_procs,
int num_procs_slow) {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::FILE));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
FilePath shutdown_ms_file = GetShutdownMsPath();
std::string shutdown_ms_str;
@@ -282,8 +282,8 @@ void ReadLastShutdownInfo() {
prefs->SetInteger(prefs::kShutdownNumProcessesSlow, 0);
// Read and delete the file on the file thread.
- ChromeThread::PostTask(
- ChromeThread::FILE, FROM_HERE,
+ BrowserThread::PostTask(
+ BrowserThread::FILE, FROM_HERE,
NewRunnableFunction(
&ReadLastShutdownFile, type, num_procs, num_procs_slow));
}