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

Unified Diff: content/renderer/mojo_context_state.h

Issue 1873783003: Convert //content/renderer from scoped_ptr to std::unique_ptr (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 | « content/renderer/mojo_bindings_controller.cc ('k') | content/renderer/mojo_context_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mojo_context_state.h
diff --git a/content/renderer/mojo_context_state.h b/content/renderer/mojo_context_state.h
index eaca53069975690bb5f43c67afe1a891573bf879..2a60c612ddf3a25005173bbf77beb28447f5bcf4 100644
--- a/content/renderer/mojo_context_state.h
+++ b/content/renderer/mojo_context_state.h
@@ -5,11 +5,11 @@
#ifndef CONTENT_RENDERER_MOJO_CONTEXT_STATE_H_
#define CONTENT_RENDERER_MOJO_CONTEXT_STATE_H_
+#include <memory>
#include <set>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "gin/modules/module_registry_observer.h"
#include "v8/include/v8.h"
@@ -71,7 +71,7 @@ class MojoContextState : public gin::ModuleRegistryObserver {
bool module_added_;
// Executes the script from gin.
- scoped_ptr<MojoMainRunner> runner_;
+ std::unique_ptr<MojoMainRunner> runner_;
// Set of fetchers we're waiting on to download script.
ScopedVector<ResourceFetcher> module_fetchers_;
« no previous file with comments | « content/renderer/mojo_bindings_controller.cc ('k') | content/renderer/mojo_context_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698