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

Unified Diff: ios/web/public/navigation_item.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: Add header 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: ios/web/public/navigation_item.h
diff --git a/ios/web/public/navigation_item.h b/ios/web/public/navigation_item.h
index d84240b1331fdfad00d303019f500c0f338916a8..6e79828d96c94fc928a510dc4190c7ab91c5fe37 100644
--- a/ios/web/public/navigation_item.h
+++ b/ios/web/public/navigation_item.h
@@ -5,7 +5,8 @@
#ifndef IOS_WEB_PUBLIC_NAVIGATION_ITEM_H_
#define IOS_WEB_PUBLIC_NAVIGATION_ITEM_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/strings/string16.h"
#include "base/supports_user_data.h"
#include "base/time/time.h"
@@ -27,7 +28,7 @@ struct SSLStatus;
class NavigationItem : public base::SupportsUserData {
public:
// Creates a new NavigationItem.
- static scoped_ptr<NavigationItem> Create();
+ static std::unique_ptr<NavigationItem> Create();
// Page-related stuff --------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698