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

Unified Diff: content/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
Index: content/browser/browser_message_filter.cc
diff --git a/content/browser/browser_message_filter.cc b/content/browser/browser_message_filter.cc
index dd2414caf5dd845f0ddd6921b551e0578040fff1..82600a2d93266339c08226323b9986403497019c 100644
--- a/content/browser/browser_message_filter.cc
+++ b/content/browser/browser_message_filter.cc
@@ -52,8 +52,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;
}
@@ -79,8 +79,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 | « chrome_frame/vtable_patch_manager_unittest.cc ('k') | content/browser/renderer_host/pepper_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698