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

Unified Diff: chrome/browser/ui/app_list/start_page_service.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/browser/ui/app_list/start_page_service.cc
diff --git a/chrome/browser/ui/app_list/start_page_service.cc b/chrome/browser/ui/app_list/start_page_service.cc
index 599f11aa3e637f260dcd083f5018e64ab869fc6d..0d2cfb15615ab4223b16cdff03bdfe2e334fd53a 100644
--- a/chrome/browser/ui/app_list/start_page_service.cc
+++ b/chrome/browser/ui/app_list/start_page_service.cc
@@ -667,8 +667,8 @@ void StartPageService::OnURLFetchComplete(const net::URLFetcher* source) {
JSONStringValueDeserializer deserializer(json_data_substr);
deserializer.set_allow_trailing_comma(true);
int error_code = 0;
- scoped_ptr<base::Value> doodle_json(
- deserializer.Deserialize(&error_code, nullptr));
+ scoped_ptr<base::Value> doodle_json =
+ deserializer.Deserialize(&error_code, nullptr);
base::TimeDelta recheck_delay;
if (error_code != 0) {

Powered by Google App Engine
This is Rietveld 408576698