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

Unified Diff: components/policy/core/common/mac_util.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: components/policy/core/common/mac_util.cc
diff --git a/components/policy/core/common/mac_util.cc b/components/policy/core/common/mac_util.cc
index dd06e1ee49043791fd11c002858a1c1ab96c332b..04167e00a1e78877a85d70b411e20c210e1f254f 100644
--- a/components/policy/core/common/mac_util.cc
+++ b/components/policy/core/common/mac_util.cc
@@ -71,7 +71,7 @@ std::unique_ptr<base::Value> PropertyToValue(CFPropertyListRef property) {
if (CFStringRef string = CFCast<CFStringRef>(property)) {
return std::unique_ptr<base::Value>(
- new base::StringValue(base::SysCFStringRefToUTF8(string)));
+ new base::Value(base::SysCFStringRefToUTF8(string)));
}
if (CFDictionaryRef dict = CFCast<CFDictionaryRef>(property)) {

Powered by Google App Engine
This is Rietveld 408576698