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

Unified Diff: chrome/browser/chromeos/settings/system_settings_provider.cc

Issue 11369258: Revert 167808 - Get rid of use of CreateStringValue in chromeos/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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/chromeos/settings/system_settings_provider.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/settings/system_settings_provider.cc
===================================================================
--- chrome/browser/chromeos/settings/system_settings_provider.cc (revision 167824)
+++ chrome/browser/chromeos/settings/system_settings_provider.cc (working copy)
@@ -21,7 +21,7 @@
system::TimezoneSettings *timezone_settings =
system::TimezoneSettings::GetInstance();
timezone_settings->AddObserver(this);
- timezone_value_.reset(new base::StringValue(
+ timezone_value_.reset(base::Value::CreateStringValue(
timezone_settings->GetCurrentTimezoneID()));
}
@@ -62,7 +62,7 @@
void SystemSettingsProvider::TimezoneChanged(const icu::TimeZone& timezone) {
// Fires system setting change notification.
- timezone_value_.reset(new base::StringValue(
+ timezone_value_.reset(base::Value::CreateStringValue(
system::TimezoneSettings::GetTimezoneID(timezone)));
NotifyObservers(kSystemTimezone);
}
« no previous file with comments | « chrome/browser/chromeos/settings/system_settings_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698