diff options
| author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-19 07:21:57 +0000 |
|---|---|---|
| committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-19 07:21:57 +0000 |
| commit | 0a3bd7eabda635026c0880e941a70261b6b67387 (patch) | |
| tree | 0f5e2cf7e77abbb56c02773f4f6cb94da1e1b39b /chrome/browser | |
| parent | 69c591a664524c99cb1e33fc9b0450a036864a69 (diff) | |
| download | chromium_src-0a3bd7eabda635026c0880e941a70261b6b67387.zip chromium_src-0a3bd7eabda635026c0880e941a70261b6b67387.tar.gz chromium_src-0a3bd7eabda635026c0880e941a70261b6b67387.tar.bz2 | |
Remaining cleanup (base::Bind): Replacing FileUtilProxy calls with new callback
- removing unused methods
- making some remaining cleanups
BUG=none
TEST=green bots
Review URL: http://codereview.chromium.org/8231004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106242 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
| -rw-r--r-- | chrome/browser/nacl_host/nacl_process_host.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/nacl_host/nacl_process_host.cc b/chrome/browser/nacl_host/nacl_process_host.cc index 195a2fa..ebf3bbf 100644 --- a/chrome/browser/nacl_host/nacl_process_host.cc +++ b/chrome/browser/nacl_host/nacl_process_host.cc @@ -264,13 +264,12 @@ void NaClProcessHost::OnProcessLaunched() { irt_path = plugin_dir.Append(GetIrtLibraryFilename()); } - base::FileUtilProxy::CreateOrOpenCallback callback = - base::Bind(&NaClProcessHost::OpenIrtFileDone, weak_factory_.GetWeakPtr()); if (!base::FileUtilProxy::CreateOrOpen( BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE), irt_path, base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ, - callback)) { + base::Bind(&NaClProcessHost::OpenIrtFileDone, + weak_factory_.GetWeakPtr()))) { delete this; } } |
