diff options
author | adamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-20 00:27:15 +0000 |
---|---|---|
committer | adamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-20 00:27:15 +0000 |
commit | 940d11f0b5d438dba78033c2c2a798b857afccb3 (patch) | |
tree | 265a2eb90ae0738f92c401ea32520b294238a4c2 /net/disk_cache/in_flight_backend_io.cc | |
parent | 944a5cd8a1a814a9534f8254c46438036b9426c9 (diff) | |
download | chromium_src-940d11f0b5d438dba78033c2c2a798b857afccb3.zip chromium_src-940d11f0b5d438dba78033c2c2a798b857afccb3.tar.gz chromium_src-940d11f0b5d438dba78033c2c2a798b857afccb3.tar.bz2 |
base::Bind conversion for net/disk_cache/...
R=willchan@chromium.org
Review URL: http://codereview.chromium.org/8353019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106415 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/in_flight_backend_io.cc')
-rw-r--r-- | net/disk_cache/in_flight_backend_io.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/disk_cache/in_flight_backend_io.cc b/net/disk_cache/in_flight_backend_io.cc index ea84561..b99d627 100644 --- a/net/disk_cache/in_flight_backend_io.cc +++ b/net/disk_cache/in_flight_backend_io.cc @@ -4,6 +4,7 @@ #include "net/disk_cache/in_flight_backend_io.h" +#include "base/bind.h" #include "base/compiler_specific.h" #include "base/logging.h" #include "net/base/net_errors.h" @@ -469,7 +470,7 @@ void InFlightBackendIO::OnOperationComplete(BackgroundIO* operation, void InFlightBackendIO::PostOperation(BackendIO* operation) { background_thread_->PostTask(FROM_HERE, - NewRunnableMethod(operation, &BackendIO::ExecuteOperation)); + base::Bind(&BackendIO::ExecuteOperation, operation)); OnOperationPosted(operation); } |