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

Unified Diff: chrome/browser/ui/webui/chromeos/set_time_ui.cc

Issue 2820823005: Revert of Stop passing raw pointers to base::Value API in c/b/ui (Closed)
Patch Set: Created 3 years, 8 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/ui/webui/chromeos/power_ui.cc ('k') | chrome/browser/ui/webui/components_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/set_time_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/set_time_ui.cc b/chrome/browser/ui/webui/chromeos/set_time_ui.cc
index 98871678f7e8a217b48ccf01af37e73d426bafec..154c9ed845aad083d6c576cdfb947742ca7b3938 100644
--- a/chrome/browser/ui/webui/chromeos/set_time_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/set_time_ui.cc
@@ -118,7 +118,7 @@
source->AddLocalizedString("timeLabel", IDS_SET_TIME_TIME_LABEL);
base::DictionaryValue values;
- values.Set("timezoneList", chromeos::system::GetTimezoneList());
+ values.Set("timezoneList", chromeos::system::GetTimezoneList().release());
// If we are not logged in, we need to show the time zone dropdown.
// Otherwise, we can leave |currentTimezoneId| blank.
« no previous file with comments | « chrome/browser/ui/webui/chromeos/power_ui.cc ('k') | chrome/browser/ui/webui/components_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698