summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 07:21:57 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 07:21:57 +0000
commit0a3bd7eabda635026c0880e941a70261b6b67387 (patch)
tree0f5e2cf7e77abbb56c02773f4f6cb94da1e1b39b /chrome/browser
parent69c591a664524c99cb1e33fc9b0450a036864a69 (diff)
downloadchromium_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.cc5
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;
}
}