diff options
author | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-16 20:04:37 +0000 |
---|---|---|
committer | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-16 20:04:37 +0000 |
commit | 16359526ebc79731e7650f1e0d8fdbd400558ea1 (patch) | |
tree | 700c204a8e994b0c3e42b4d88b48c248d1353b6e /net/http/http_cache.cc | |
parent | 915f251d0504a176e4a612a2b2ff2b00592a8819 (diff) | |
download | chromium_src-16359526ebc79731e7650f1e0d8fdbd400558ea1.zip chromium_src-16359526ebc79731e7650f1e0d8fdbd400558ea1.tar.gz chromium_src-16359526ebc79731e7650f1e0d8fdbd400558ea1.tar.bz2 |
Revert 114838 - base::Bind: Remove even moar OldCompletionCallback.
BUG=none
TEST=none
R=dpapad
Review URL: http://codereview.chromium.org/8947024
TBR=jhawkins@chromium.org
Review URL: http://codereview.chromium.org/8966031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114840 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_cache.cc')
-rw-r--r-- | net/http/http_cache.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc index 8ee0ac6..78b0eaf 100644 --- a/net/http/http_cache.cc +++ b/net/http/http_cache.cc @@ -638,8 +638,7 @@ int HttpCache::AsyncDoomEntry(const std::string& key, Transaction* trans) { BackendCallback* my_callback = new BackendCallback(this, pending_op); pending_op->callback = my_callback; - int rv = disk_cache_->DoomEntry( - key, base::Bind(&net::OldCompletionCallbackAdapter, my_callback)); + int rv = disk_cache_->DoomEntry(key, my_callback); if (rv != ERR_IO_PENDING) { item->ClearTransaction(); my_callback->Run(rv); |