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

Unified Diff: chrome/browser/external_tab_container_win.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, 11 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/browser/chromeos/customization_document.cc ('k') | chrome/browser/history/shortcuts_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/external_tab_container_win.cc
diff --git a/chrome/browser/external_tab_container_win.cc b/chrome/browser/external_tab_container_win.cc
index b7d03115afc2352c4665f8968f82942f5d4a754b..0132b29a84000cebb3037d92780cddb4b8c60144 100644
--- a/chrome/browser/external_tab_container_win.cc
+++ b/chrome/browser/external_tab_container_win.cc
@@ -561,10 +561,11 @@ bool ExternalTabContainer::CanDownload(WebContents* source, int request_id) {
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
- base::IgnoreReturn<bool>(base::Bind(
- &AutomationResourceMessageFilter::SendDownloadRequestToHost,
- automation_resource_message_filter_.get(), 0, tab_handle_,
- request_id)));
+ base::Bind(
+ base::IgnoreResult(
+ &AutomationResourceMessageFilter::SendDownloadRequestToHost),
+ automation_resource_message_filter_.get(), 0, tab_handle_,
+ request_id));
}
} else {
DLOG(WARNING) << "Downloads are only supported with host browser network "
« no previous file with comments | « chrome/browser/chromeos/customization_document.cc ('k') | chrome/browser/history/shortcuts_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698