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

Unified Diff: ios/chrome/browser/ui/webui/omaha_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
Index: ios/chrome/browser/ui/webui/omaha_ui.cc
diff --git a/ios/chrome/browser/ui/webui/omaha_ui.cc b/ios/chrome/browser/ui/webui/omaha_ui.cc
index 6560ba9e2adc10092c0573467ba8c23947df8c74..e31711391ac1bb531fdcebb383686f9d9703a3a2 100644
--- a/ios/chrome/browser/ui/webui/omaha_ui.cc
+++ b/ios/chrome/browser/ui/webui/omaha_ui.cc
@@ -4,6 +4,7 @@
#include "ios/chrome/browser/ui/webui/omaha_ui.h"
+#include "base/memory/ptr_util.h"
#include "base/memory/weak_ptr.h"
#include "base/values.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state.h"
@@ -81,7 +82,7 @@ void OmahaDOMHandler::OnDebugInformationAvailable(
// OmahaUI
OmahaUI::OmahaUI(web::WebUIIOS* web_ui) : WebUIIOSController(web_ui) {
- web_ui->AddMessageHandler(new OmahaDOMHandler());
+ web_ui->AddMessageHandler(base::MakeUnique<OmahaDOMHandler>());
// Set up the chrome://omaha/ source.
ios::ChromeBrowserState* browser_state =
« no previous file with comments | « ios/chrome/browser/ui/webui/ntp_tiles_internals_ui.cc ('k') | ios/chrome/browser/ui/webui/physical_web_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698