diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-06 02:37:17 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-06 02:37:17 +0000 |
commit | dcde767184d0ab222f846123bc397738b3bcd8f7 (patch) | |
tree | 0f9a8297a8ef586214a09e2c53e9c300a31f914a /webkit | |
parent | 651cea61d7994567ddd4db73012d6c9f737efee4 (diff) | |
download | chromium_src-dcde767184d0ab222f846123bc397738b3bcd8f7.zip chromium_src-dcde767184d0ab222f846123bc397738b3bcd8f7.tar.gz chromium_src-dcde767184d0ab222f846123bc397738b3bcd8f7.tar.bz2 |
Change over IgnoreReturn to IgnoreResult. remove IgnoreReturn.
BUG=98919
TEST=existing
Review URL: http://codereview.chromium.org/9111032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116631 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/tools/test_shell/simple_appcache_system.cc | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/webkit/tools/test_shell/simple_appcache_system.cc b/webkit/tools/test_shell/simple_appcache_system.cc index 9ce6ce6..a47fffb 100644 --- a/webkit/tools/test_shell/simple_appcache_system.cc +++ b/webkit/tools/test_shell/simple_appcache_system.cc @@ -267,8 +267,9 @@ class SimpleBackendProxy status_result_ = appcache::UNCACHED; event_.Reset(); system_->io_message_loop()->PostTask( - FROM_HERE, base::IgnoreReturn<appcache::Status>( - base::Bind(&SimpleBackendProxy::GetStatus, this, host_id))); + FROM_HERE, + base::Bind(base::IgnoreResult(&SimpleBackendProxy::GetStatus), + this, host_id)); event_.Wait(); } else if (system_->is_io_thread()) { system_->backend_impl_->GetStatusWithCallback( @@ -284,8 +285,9 @@ class SimpleBackendProxy bool_result_ = false; event_.Reset(); system_->io_message_loop()->PostTask( - FROM_HERE, base::IgnoreReturn<bool>( - base::Bind(&SimpleBackendProxy::StartUpdate, this, host_id))); + FROM_HERE, + base::Bind(base::IgnoreResult(&SimpleBackendProxy::StartUpdate), + this, host_id)); event_.Wait(); } else if (system_->is_io_thread()) { system_->backend_impl_->StartUpdateWithCallback( @@ -301,8 +303,9 @@ class SimpleBackendProxy bool_result_ = false; event_.Reset(); system_->io_message_loop()->PostTask( - FROM_HERE, base::IgnoreReturn<bool>( - base::Bind(&SimpleBackendProxy::SwapCache, this, host_id))); + FROM_HERE, + base::Bind(base::IgnoreResult(&SimpleBackendProxy::SwapCache), + this, host_id)); event_.Wait(); } else if (system_->is_io_thread()) { system_->backend_impl_->SwapCacheWithCallback( |