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

Unified Diff: gin/shell/gin_main.cc

Issue 1917053003: unique_ptr_migration: clean up references to scoped_ptr as of r389721 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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 | « device/usb/usb_device_handle_usbfs.cc ('k') | gin/shell_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/shell/gin_main.cc
diff --git a/gin/shell/gin_main.cc b/gin/shell/gin_main.cc
index b45afefe567dca4f8a620b998f0426ca6bccb993..706b86ebc402c99aad73886c38ea9d58b2da0a25 100644
--- a/gin/shell/gin_main.cc
+++ b/gin/shell/gin_main.cc
@@ -9,6 +9,7 @@
#include "base/files/file_util.h"
#include "base/i18n/icu_util.h"
#include "base/macros.h"
+#include "base/memory/ptr_util.h"
#include "base/message_loop/message_loop.h"
#include "gin/array_buffer.h"
#include "gin/modules/console.h"
@@ -70,7 +71,7 @@ int main(int argc, char** argv) {
base::MessageLoop message_loop;
// Initialize the base::FeatureList since IsolateHolder can depend on it.
- base::FeatureList::SetInstance(make_scoped_ptr(new base::FeatureList));
+ base::FeatureList::SetInstance(base::WrapUnique(new base::FeatureList));
gin::IsolateHolder::Initialize(gin::IsolateHolder::kStrictMode,
gin::IsolateHolder::kStableV8Extras,
« no previous file with comments | « device/usb/usb_device_handle_usbfs.cc ('k') | gin/shell_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698