Index: chrome/browser/extensions/autoupdate_interceptor.cc |
=================================================================== |
--- chrome/browser/extensions/autoupdate_interceptor.cc (revision 30037) |
+++ chrome/browser/extensions/autoupdate_interceptor.cc (working copy) |
@@ -68,8 +68,7 @@ |
void AutoUpdateInterceptor::SetResponseOnIOThread(const std::string url, |
const FilePath& path) { |
- MessageLoop* io_loop = ChromeThread::GetMessageLoop(ChromeThread::IO); |
- io_loop->PostTask(FROM_HERE, |
- NewRunnableMethod(this, &AutoUpdateInterceptor::SetResponse, |
- url, path)); |
+ ChromeThread::PostTask( |
+ ChromeThread::IO, FROM_HERE, |
+ NewRunnableMethod(this, &AutoUpdateInterceptor::SetResponse, url, path)); |
} |