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

Unified Diff: chrome/browser/chromeos/customization_document.cc

Issue 9111032: Change over IgnoreReturn to IgnoreResult. remove IgnoreReturn. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix minor errors 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: chrome/browser/chromeos/customization_document.cc
diff --git a/chrome/browser/chromeos/customization_document.cc b/chrome/browser/chromeos/customization_document.cc
index ea0484109c7d64e9b7fade1b88b3d3e87955f1fd..f0434de20414ebd18db8f9214f2159866b3df2bd 100644
--- a/chrome/browser/chromeos/customization_document.cc
+++ b/chrome/browser/chromeos/customization_document.cc
@@ -284,10 +284,11 @@ void ServicesCustomizationDocument::ReadFileInBackground(const FilePath& file) {
std::string manifest;
if (file_util::ReadFileToString(file, &manifest)) {
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- base::IgnoreReturn<bool>(base::Bind(
- &ServicesCustomizationDocument::LoadManifestFromString,
- base::Unretained(this), // this class is a singleton.
- manifest)));
+ base::Bind(
+ base::IgnoreResult(
+ &ServicesCustomizationDocument::LoadManifestFromString),
+ base::Unretained(this), // this class is a singleton.
+ manifest));
} else {
VLOG(1) << "Failed to load services customization manifest from: "
<< file.value();

Powered by Google App Engine
This is Rietveld 408576698