Index: chrome/browser/ui/webui/app_list/start_page_ui.cc |
diff --git a/chrome/browser/ui/webui/app_list/start_page_ui.cc b/chrome/browser/ui/webui/app_list/start_page_ui.cc |
index 2695981f97aede1026d50d99821cdbdd84a9d96f..01df2f9d2a6a8aa0b6a0f15700ad0d5c6ca3cb1e 100644 |
--- a/chrome/browser/ui/webui/app_list/start_page_ui.cc |
+++ b/chrome/browser/ui/webui/app_list/start_page_ui.cc |
@@ -4,10 +4,11 @@ |
#include "chrome/browser/ui/webui/app_list/start_page_ui.h" |
+#include <memory> |
+ |
#include "base/files/file_path.h" |
#include "base/files/file_util.h" |
#include "base/memory/ref_counted_memory.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/sys_info.h" |
#include "chrome/browser/extensions/extension_service.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -32,7 +33,7 @@ StartPageUI::StartPageUI(content::WebUI* web_ui) |
StartPageUI::~StartPageUI() {} |
void StartPageUI::InitDataSource() { |
- scoped_ptr<content::WebUIDataSource> source( |
+ std::unique_ptr<content::WebUIDataSource> source( |
content::WebUIDataSource::Create(chrome::kChromeUIAppListStartPageHost)); |
source->SetJsonPath("strings.js"); |