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

Unified Diff: components/nacl/browser/nacl_browser.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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
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,
« no previous file with comments | « components/keyed_service/core/refcounted_keyed_service.h ('k') | components/nacl/browser/pnacl_translation_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698