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

Unified Diff: content/public/browser/browser_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/utility_process_host.cc ('k') | content/renderer/media/audio_input_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_message_filter.cc
diff --git a/content/public/browser/browser_message_filter.cc b/content/public/browser/browser_message_filter.cc
index 88f7107486b38fd74d6f7e0d7516bf9e9d9da45c..441984425f4aeea831ef4f39d36f94b0638a2468 100644
--- a/content/public/browser/browser_message_filter.cc
+++ b/content/public/browser/browser_message_filter.cc
@@ -53,8 +53,8 @@ bool BrowserMessageFilter::Send(IPC::Message* message) {
BrowserThread::PostTask(
BrowserThread::IO,
FROM_HERE,
- base::IgnoreReturn<bool>(
- base::Bind(&BrowserMessageFilter::Send, this, message)));
+ base::Bind(base::IgnoreResult(&BrowserMessageFilter::Send), this,
+ message));
return true;
}
@@ -80,8 +80,8 @@ bool BrowserMessageFilter::OnMessageReceived(const IPC::Message& message) {
BrowserThread::PostTask(
thread, FROM_HERE,
- base::IgnoreReturn<bool>(
- base::Bind(&BrowserMessageFilter::DispatchMessage, this, message)));
+ base::Bind(base::IgnoreResult(&BrowserMessageFilter::DispatchMessage),
+ this, message));
return true;
}
« no previous file with comments | « content/browser/utility_process_host.cc ('k') | content/renderer/media/audio_input_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698