Index: components/nacl/browser/nacl_browser.cc |
diff --git a/components/nacl/browser/nacl_browser.cc b/components/nacl/browser/nacl_browser.cc |
index 3be871520e87d22f3f19f2da5ea9420de4182dc3..ca3fb97be5de093bb0ffc6d7aa14ade03829a720 100644 |
--- a/components/nacl/browser/nacl_browser.cc |
+++ b/components/nacl/browser/nacl_browser.cc |
@@ -247,10 +247,10 @@ void NaClBrowser::EnsureIrtAvailable() { |
if (IsOk() && irt_state_ == NaClResourceUninitialized) { |
irt_state_ = NaClResourceRequested; |
// TODO(ncbray) use blocking pool. |
- std::unique_ptr<base::FileProxy> file_proxy(new base::FileProxy( |
- content::BrowserThread::GetMessageLoopProxyForThread( |
- content::BrowserThread::FILE) |
- .get())); |
+ std::unique_ptr<base::FileProxy> file_proxy( |
+ new base::FileProxy(content::BrowserThread::GetTaskRunnerForThread( |
+ content::BrowserThread::FILE) |
+ .get())); |
base::FileProxy* proxy = file_proxy.get(); |
if (!proxy->CreateOrOpen(irt_filepath_, |
base::File::FLAG_OPEN | base::File::FLAG_READ, |