Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: webkit/tools/test_shell/simple_appcache_system.cc

Issue 9111032: Change over IgnoreReturn to IgnoreResult. remove IgnoreReturn. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix it for realz Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/ipc_sync_channel_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/simple_appcache_system.cc
diff --git a/webkit/tools/test_shell/simple_appcache_system.cc b/webkit/tools/test_shell/simple_appcache_system.cc
index 9ce6ce64aff24e98f69af6e8a8293d91f70dddfc..a47fffb5f9eef6d8fbaaba6b542307875a6aa7c2 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(
« no previous file with comments | « ipc/ipc_sync_channel_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698