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

Unified Diff: ui/views_content_client/views_content_main_delegate.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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: ui/views_content_client/views_content_main_delegate.h
diff --git a/ui/views_content_client/views_content_main_delegate.h b/ui/views_content_client/views_content_main_delegate.h
index 51839f76e4d48b44b418d59ccff7bbc0ba41f47b..4655719ba9ac405b4b891e485dfb4f02e0964c82 100644
--- a/ui/views_content_client/views_content_main_delegate.h
+++ b/ui/views_content_client/views_content_main_delegate.h
@@ -5,8 +5,9 @@
#ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_MAIN_DELEGATE_H_
#define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_MAIN_DELEGATE_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/public/app/content_main_delegate.h"
#include "content/shell/common/shell_content_client.h"
@@ -26,7 +27,7 @@ class ViewsContentMainDelegate : public content::ContentMainDelegate {
content::ContentBrowserClient* CreateContentBrowserClient() override;
private:
- scoped_ptr<ViewsContentBrowserClient> browser_client_;
+ std::unique_ptr<ViewsContentBrowserClient> browser_client_;
content::ShellContentClient content_client_;
ViewsContentClient* views_content_client_;
« no previous file with comments | « ui/views_content_client/views_content_client_main_parts_chromeos.cc ('k') | ui/web_dialogs/web_dialog_web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698