Index: chrome/browser/ui/webui/policy_ui_handler.cc |
diff --git a/chrome/browser/ui/webui/policy_ui_handler.cc b/chrome/browser/ui/webui/policy_ui_handler.cc |
index a18f2e59a7258bc8e505402bf98daf595d618d6e..9d8f944498d3e9f297e839b0b86e04a52d171e7c 100644 |
--- a/chrome/browser/ui/webui/policy_ui_handler.cc |
+++ b/chrome/browser/ui/webui/policy_ui_handler.cc |
@@ -173,13 +173,13 @@ void ExtractDomainFromUsername(base::DictionaryValue* dict) { |
} |
// Utility function that returns a JSON serialization of the given |dict|. |
-std::unique_ptr<base::StringValue> DictionaryToJSONString( |
+std::unique_ptr<base::Value> DictionaryToJSONString( |
const base::DictionaryValue& dict) { |
std::string json_string; |
base::JSONWriter::WriteWithOptions(dict, |
base::JSONWriter::OPTIONS_PRETTY_PRINT, |
&json_string); |
- return base::MakeUnique<base::StringValue>(json_string); |
+ return base::MakeUnique<base::Value>(json_string); |
} |
// Returns a copy of |value| with some values converted to a representation that |