Index: chrome/browser/ui/webui/supervised_user_internals_message_handler.cc |
diff --git a/chrome/browser/ui/webui/supervised_user_internals_message_handler.cc b/chrome/browser/ui/webui/supervised_user_internals_message_handler.cc |
index 63e4126215e0c89ed3db4fa3f0ffaf5c91afe5ad..f9ca895383ec752f1d3511900631b2334a41fab2 100644 |
--- a/chrome/browser/ui/webui/supervised_user_internals_message_handler.cc |
+++ b/chrome/browser/ui/webui/supervised_user_internals_message_handler.cc |
@@ -8,6 +8,7 @@ |
#include "base/bind.h" |
#include "base/macros.h" |
+#include "base/memory/ptr_util.h" |
#include "base/memory/ref_counted.h" |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
@@ -245,7 +246,7 @@ void SupervisedUserInternalsMessageHandler::SendSupervisedUserSettings( |
const base::DictionaryValue* settings) { |
web_ui()->CallJavascriptFunctionUnsafe( |
"chrome.supervised_user_internals.receiveUserSettings", |
- *(settings ? settings : base::Value::CreateNullValue().get())); |
+ *(settings ? settings : base::MakeUnique<base::Value>().get())); |
} |
void SupervisedUserInternalsMessageHandler::OnTryURLResult( |