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 /webkit | |
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 'webkit')
-rw-r--r-- | webkit/appcache/appcache_disk_cache.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/webkit/appcache/appcache_disk_cache.cc b/webkit/appcache/appcache_disk_cache.cc index 4a9f9ff..1f9033b 100644 --- a/webkit/appcache/appcache_disk_cache.cc +++ b/webkit/appcache/appcache_disk_cache.cc @@ -49,7 +49,7 @@ class AppCacheDiskCache::EntryImpl : public Entry { }; // Separate object to hold state for each Create, Delete, or Doom call -// while the call is in-flight and to produce an EntryImpl upon completion. +// while the call is inflight and to produce an EntryImpl upon completion. class AppCacheDiskCache::ActiveCall { public: explicit ActiveCall(AppCacheDiskCache* owner) @@ -72,8 +72,7 @@ class AppCacheDiskCache::ActiveCall { int DoomEntry(int64 key, net::OldCompletionCallback* callback) { int rv = owner_->disk_cache()->DoomEntry( - base::Int64ToString(key), - base::Bind(&ActiveCall::OnAsyncCompletion, base::Unretained(this))); + base::Int64ToString(key), &async_completion_); return HandleImmediateReturnValue(rv, NULL, callback); } |