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

Unified Diff: ios/web/shell/shell_web_client.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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 | « ios/web/shell/shell_url_request_context_getter.mm ('k') | ios/web/shell/shell_web_main_parts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/shell/shell_web_client.h
diff --git a/ios/web/shell/shell_web_client.h b/ios/web/shell/shell_web_client.h
index 85ad1e4939e546ad58c7e70c715741c2c1501377..0f26919b8c4ffcb71bc2a4c5d3e585730f089763 100644
--- a/ios/web/shell/shell_web_client.h
+++ b/ios/web/shell/shell_web_client.h
@@ -5,9 +5,10 @@
#ifndef IOS_WEB_SHELL_SHELL_WEB_CLIENT_H_
#define IOS_WEB_SHELL_SHELL_WEB_CLIENT_H_
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ios/web/public/web_client.h"
namespace web {
@@ -27,7 +28,7 @@ class ShellWebClient : public WebClient {
ShellBrowserState* browser_state() const;
private:
- scoped_ptr<ShellWebMainParts> web_main_parts_;
+ std::unique_ptr<ShellWebMainParts> web_main_parts_;
DISALLOW_COPY_AND_ASSIGN(ShellWebClient);
};
« no previous file with comments | « ios/web/shell/shell_url_request_context_getter.mm ('k') | ios/web/shell/shell_web_main_parts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698