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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.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/browser/rlz/rlz.cc ('k') | chrome/browser/ui/browser_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/safe_browsing_service.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc
index 17c35711455c45a47247fcc96db93a831d350d56..3d01877341cb442c253d0cc8ca90ca2e839a7c0d 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service.cc
@@ -657,9 +657,9 @@ bool SafeBrowsingService::MakeDatabaseAvailable() {
DCHECK(enabled_);
if (DatabaseAvailable())
return true;
- safe_browsing_thread_->message_loop()->PostTask(FROM_HERE,
- base::IgnoreReturn<SafeBrowsingDatabase*>(
- base::Bind(&SafeBrowsingService::GetDatabase, this)));
+ safe_browsing_thread_->message_loop()->PostTask(
+ FROM_HERE,
+ base::Bind(base::IgnoreResult(&SafeBrowsingService::GetDatabase), this));
return false;
}
« no previous file with comments | « chrome/browser/rlz/rlz.cc ('k') | chrome/browser/ui/browser_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698