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

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

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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/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 00cfbff075a93cfb4502de51d922e9f4b648606f..154c9ed845aad083d6c576cdfb947742ca7b3938 100644
--- a/chrome/browser/ui/webui/chromeos/set_time_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/set_time_ui.cc
@@ -65,8 +65,7 @@ class SetTimeMessageHandler : public content::WebUIMessageHandler,
// system::TimezoneSettings::Observer:
void TimezoneChanged(const icu::TimeZone& timezone) override {
- base::StringValue timezone_id(
- system::TimezoneSettings::GetTimezoneID(timezone));
+ base::Value timezone_id(system::TimezoneSettings::GetTimezoneID(timezone));
web_ui()->CallJavascriptFunctionUnsafe("settime.TimeSetter.setTimezone",
timezone_id);
}
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/user_board_screen_handler.cc ('k') | chrome/browser/ui/webui/crashes_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698