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

Unified Diff: chrome/installer/util/uninstall_metrics.cc

Issue 1394993004: Make ValueDeserializer::Deserialize return scoped_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix and add todo about not failed trybot Created 5 years, 2 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/installer/util/uninstall_metrics.cc
diff --git a/chrome/installer/util/uninstall_metrics.cc b/chrome/installer/util/uninstall_metrics.cc
index 11e91dad2d51e79038e527797992bbca7af08f07..606b132d929fe9c586b29a8eb95fbf5f84d75326 100644
--- a/chrome/installer/util/uninstall_metrics.cc
+++ b/chrome/installer/util/uninstall_metrics.cc
@@ -78,7 +78,7 @@ bool ExtractUninstallMetricsFromFile(const base::FilePath& file_path,
JSONFileValueDeserializer json_deserializer(file_path);
std::string json_error_string;
- scoped_ptr<base::Value> root(json_deserializer.Deserialize(NULL, NULL));
+ scoped_ptr<base::Value> root = json_deserializer.Deserialize(NULL, NULL);
if (!root.get())
return false;
« no previous file with comments | « chrome/common/extensions/extension_test_util.cc ('k') | chrome/installer/util/uninstall_metrics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698