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

Unified Diff: chrome_frame/cfproxy_test.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 | « chrome/test/base/view_event_test_base.cc ('k') | chrome_frame/chrome_frame_automation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/cfproxy_test.cc
diff --git a/chrome_frame/cfproxy_test.cc b/chrome_frame/cfproxy_test.cc
index 417413322176f41777e2e9be1643d9c83a5e5439..9e0cf33da6f3d31a17ed4fdb01fc23c3450300b1 100644
--- a/chrome_frame/cfproxy_test.cc
+++ b/chrome_frame/cfproxy_test.cc
@@ -122,9 +122,9 @@ struct MockCFProxyTraits : public CFProxyTraits {
ASSERT_TRUE(ipc_loop != NULL);
ipc_loop->PostDelayedTask(
FROM_HERE,
- base::IgnoreReturn<bool>(
- base::Bind(&IPC::Channel::Listener::OnMessageReceived,
- base::Unretained(listener), m)),
+ base::Bind(
+ base::IgnoreResult(&IPC::Channel::Listener::OnMessageReceived),
+ base::Unretained(listener), m),
t.InMilliseconds());
}
@@ -360,8 +360,8 @@ TEST(SyncMsgSender, Deserialize) {
// Execute replies in a worker thread.
ipc.message_loop()->PostTask(
FROM_HERE,
- base::IgnoreReturn<bool>(base::Bind(&SyncMsgSender::OnReplyReceived,
- base::Unretained(&queue), r.get())));
+ base::Bind(base::IgnoreResult(&SyncMsgSender::OnReplyReceived),
+ base::Unretained(&queue), r.get()));
ipc.Stop();
// Expect that tab 6 has been associated with the delegate.
« no previous file with comments | « chrome/test/base/view_event_test_base.cc ('k') | chrome_frame/chrome_frame_automation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698