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

Unified Diff: gin/shell_runner.h

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 | « gin/shell/gin_main.cc ('k') | headless/public/headless_web_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/shell_runner.h
diff --git a/gin/shell_runner.h b/gin/shell_runner.h
index 71f00fd2bcfeb0e27d688d4baaa699e699c47b34..f7651f04bbb41304b0e4264612bed21f137ba0e4 100644
--- a/gin/shell_runner.h
+++ b/gin/shell_runner.h
@@ -5,8 +5,9 @@
#ifndef GIN_SHELL_RUNNER_H_
#define GIN_SHELL_RUNNER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "gin/runner.h"
namespace gin {
@@ -60,7 +61,7 @@ class GIN_EXPORT ShellRunner : public Runner {
ShellRunnerDelegate* delegate_;
- scoped_ptr<ContextHolder> context_holder_;
+ std::unique_ptr<ContextHolder> context_holder_;
DISALLOW_COPY_AND_ASSIGN(ShellRunner);
};
« no previous file with comments | « gin/shell/gin_main.cc ('k') | headless/public/headless_web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698