diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-16 19:25:48 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-16 19:25:48 +0000 |
commit | 915f251d0504a176e4a612a2b2ff2b00592a8819 (patch) | |
tree | d1005c9105f1308ab05ae8e93684f43f8da50041 /webkit | |
parent | badc5a57fd63efdb03ce99e65d4dd9e90a2f870e (diff) | |
download | chromium_src-915f251d0504a176e4a612a2b2ff2b00592a8819.zip chromium_src-915f251d0504a176e4a612a2b2ff2b00592a8819.tar.gz chromium_src-915f251d0504a176e4a612a2b2ff2b00592a8819.tar.bz2 |
base::Bind: Remove even moar OldCompletionCallback.
BUG=none
TEST=none
R=dpapad
Review URL: http://codereview.chromium.org/8947024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114838 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/appcache/appcache_disk_cache.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/appcache/appcache_disk_cache.cc b/webkit/appcache/appcache_disk_cache.cc index 1f9033b..4a9f9ff 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 inflight and to produce an EntryImpl upon completion. +// while the call is in-flight and to produce an EntryImpl upon completion. class AppCacheDiskCache::ActiveCall { public: explicit ActiveCall(AppCacheDiskCache* owner) @@ -72,7 +72,8 @@ class AppCacheDiskCache::ActiveCall { int DoomEntry(int64 key, net::OldCompletionCallback* callback) { int rv = owner_->disk_cache()->DoomEntry( - base::Int64ToString(key), &async_completion_); + base::Int64ToString(key), + base::Bind(&ActiveCall::OnAsyncCompletion, base::Unretained(this))); return HandleImmediateReturnValue(rv, NULL, callback); } |