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

Unified Diff: content/shell/renderer/shell_content_renderer_client.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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
Index: content/shell/renderer/shell_content_renderer_client.h
diff --git a/content/shell/renderer/shell_content_renderer_client.h b/content/shell/renderer/shell_content_renderer_client.h
index 6c4e295e4bfa7a34249bf83260c6a7e48ddc00d2..2e5e691a6a1cc428fa73b4c32ff1b9e4c8bfbdb4 100644
--- a/content/shell/renderer/shell_content_renderer_client.h
+++ b/content/shell/renderer/shell_content_renderer_client.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
#define CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
+#include <memory>
+
#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
#include "content/public/renderer/content_renderer_client.h"
namespace web_cache {
@@ -30,7 +31,7 @@ class ShellContentRendererClient : public ContentRendererClient {
bool IsPluginAllowedToUseDevChannelAPIs() override;
private:
- scoped_ptr<web_cache::WebCacheRenderProcessObserver> web_cache_observer_;
+ std::unique_ptr<web_cache::WebCacheRenderProcessObserver> web_cache_observer_;
};
} // namespace content
« no previous file with comments | « content/shell/renderer/layout_test/leak_detector.h ('k') | content/shell/utility/shell_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698