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

Unified Diff: chrome/browser/configuration_policy_provider_win.cc

Issue 3023037: Remove Value/StringValue's ...UTF16() methods in favour of overloading. (Closed)
Patch Set: I'm an idiot. Created 10 years, 5 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/configuration_policy_pref_store.cc ('k') | chrome/browser/dom_ui/history2_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/configuration_policy_provider_win.cc
diff --git a/chrome/browser/configuration_policy_provider_win.cc b/chrome/browser/configuration_policy_provider_win.cc
index a52c123e7fc98f4c6ec1cf0ffdf99701be43d705..61d264ce7abbb29db46e9bacd4fca2c28b52e435 100644
--- a/chrome/browser/configuration_policy_provider_win.cc
+++ b/chrome/browser/configuration_policy_provider_win.cc
@@ -104,7 +104,7 @@ bool ConfigurationPolicyProviderWin::Provide(
if (GetRegistryPolicyString(name.c_str(), &string_value)) {
store->Apply(
current->policy_type,
- Value::CreateStringValueFromUTF16(string_value));
+ Value::CreateStringValue(string_value));
}
break;
case Value::TYPE_BOOLEAN:
« no previous file with comments | « chrome/browser/configuration_policy_pref_store.cc ('k') | chrome/browser/dom_ui/history2_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698