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

Unified Diff: ios/chrome/browser/ui/webui/ntp_tiles_internals_ui.cc

Issue 2617243002: Remove ScopedVector from ios/. (Closed)
Patch Set: rebase Created 3 years, 11 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 | « ios/chrome/browser/ui/webui/net_export/net_export_ui.cc ('k') | ios/chrome/browser/ui/webui/omaha_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/webui/ntp_tiles_internals_ui.cc
diff --git a/ios/chrome/browser/ui/webui/ntp_tiles_internals_ui.cc b/ios/chrome/browser/ui/webui/ntp_tiles_internals_ui.cc
index 554f34b8351cc4443000736dddd78368191b7b53..ecf53866297617e9a2d6c91c097f6ded63559e30 100644
--- a/ios/chrome/browser/ui/webui/ntp_tiles_internals_ui.cc
+++ b/ios/chrome/browser/ui/webui/ntp_tiles_internals_ui.cc
@@ -4,6 +4,7 @@
#include "ios/chrome/browser/ui/webui/ntp_tiles_internals_ui.h"
+#include "base/memory/ptr_util.h"
#include "components/grit/components_resources.h"
#include "components/ntp_tiles/field_trial.h"
#include "components/ntp_tiles/most_visited_sites.h"
@@ -112,7 +113,8 @@ NTPTilesInternalsUI::NTPTilesInternalsUI(web::WebUIIOS* web_ui)
: web::WebUIIOSController(web_ui) {
web::WebUIIOSDataSource::Add(ios::ChromeBrowserState::FromWebUIIOS(web_ui),
CreateNTPTilesInternalsHTMLSource());
- web_ui->AddMessageHandler(new IOSNTPTilesInternalsMessageHandlerBridge);
+ web_ui->AddMessageHandler(
+ base::MakeUnique<IOSNTPTilesInternalsMessageHandlerBridge>());
}
NTPTilesInternalsUI::~NTPTilesInternalsUI() {}
« no previous file with comments | « ios/chrome/browser/ui/webui/net_export/net_export_ui.cc ('k') | ios/chrome/browser/ui/webui/omaha_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698