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

Unified Diff: content/browser/renderer_host/pepper_message_filter.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 | « content/browser/browser_message_filter.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/pepper_message_filter.cc
diff --git a/content/browser/renderer_host/pepper_message_filter.cc b/content/browser/renderer_host/pepper_message_filter.cc
index fea3b0744538d94e3e0fd379240cb411ba958a77..eaac07bdcc487a4adf4ca4b95aba2ae61b492a01 100644
--- a/content/browser/renderer_host/pepper_message_filter.cc
+++ b/content/browser/renderer_host/pepper_message_filter.cc
@@ -276,12 +276,11 @@ void PepperMessageFilter::ConnectTcpOnWorkerThread(int routing_id,
BrowserThread::PostTask(
BrowserThread::IO,
FROM_HERE,
- base::IgnoreReturn<bool>(
- base::Bind(
- &PepperMessageFilter::Send, this,
- new PepperMsg_ConnectTcpACK(
- routing_id, request_id,
- socket_for_transit, local_addr, remote_addr))));
+ base::Bind(
+ base::IgnoreResult(&PepperMessageFilter::Send), this,
+ new PepperMsg_ConnectTcpACK(
+ routing_id, request_id,
+ socket_for_transit, local_addr, remote_addr)));
}
// TODO(vluu): Eliminate duplication between this and
@@ -302,12 +301,11 @@ void PepperMessageFilter::ConnectTcpAddressOnWorkerThread(
BrowserThread::PostTask(
BrowserThread::IO,
FROM_HERE,
- base::IgnoreReturn<bool>(
- base::Bind(
- &PepperMessageFilter::Send, this,
- new PepperMsg_ConnectTcpACK(
- routing_id, request_id,
- socket_for_transit, local_addr, remote_addr))));
+ base::Bind(
+ base::IgnoreResult(&PepperMessageFilter::Send), this,
+ new PepperMsg_ConnectTcpACK(
+ routing_id, request_id,
+ socket_for_transit, local_addr, remote_addr)));
}
#endif // ENABLE_FLAPPER_HACKS
« no previous file with comments | « content/browser/browser_message_filter.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698