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

Unified Diff: ios/chrome/browser/ui/webui/gcm/gcm_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/flags_ui.cc ('k') | ios/chrome/browser/ui/webui/net_export/net_export_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/gcm/gcm_internals_ui.cc
diff --git a/ios/chrome/browser/ui/webui/gcm/gcm_internals_ui.cc b/ios/chrome/browser/ui/webui/gcm/gcm_internals_ui.cc
index 0d69bda617fba1d8aeb4137f0d555c2c301eb373..2464355b60036002f63790263d06f433b25a21bf 100644
--- a/ios/chrome/browser/ui/webui/gcm/gcm_internals_ui.cc
+++ b/ios/chrome/browser/ui/webui/gcm/gcm_internals_ui.cc
@@ -9,6 +9,7 @@
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/macros.h"
+#include "base/memory/ptr_util.h"
#include "base/memory/weak_ptr.h"
#include "base/values.h"
#include "components/gcm_driver/gcm_client.h"
@@ -171,7 +172,7 @@ GCMInternalsUI::GCMInternalsUI(web::WebUIIOS* web_ui)
web::WebUIIOSDataSource::Add(ios::ChromeBrowserState::FromWebUIIOS(web_ui),
html_source);
- web_ui->AddMessageHandler(new GcmInternalsUIMessageHandler());
+ web_ui->AddMessageHandler(base::MakeUnique<GcmInternalsUIMessageHandler>());
}
GCMInternalsUI::~GCMInternalsUI() {}
« no previous file with comments | « ios/chrome/browser/ui/webui/flags_ui.cc ('k') | ios/chrome/browser/ui/webui/net_export/net_export_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698