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

Unified Diff: ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content.mm

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
Index: ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content.mm
diff --git a/ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content.mm b/ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content.mm
index 492dd2b268c89ddab3ac275d6421b378d12ad6fc..fce8149bd8b2b20c2b2830b2526b746bae522587 100644
--- a/ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content.mm
+++ b/ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content.mm
@@ -4,11 +4,12 @@
#include "ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content.h"
+#include "base/memory/ptr_util.h"
#import "components/open_from_clipboard/clipboard_recent_content_ios.h"
#include "ios/chrome/browser/chrome_url_constants.h"
#include "ios/chrome/common/app_group/app_group_constants.h"
-scoped_ptr<ClipboardRecentContent> CreateClipboardRecentContentIOS() {
- return make_scoped_ptr(new ClipboardRecentContentIOS(
+std::unique_ptr<ClipboardRecentContent> CreateClipboardRecentContentIOS() {
+ return base::WrapUnique(new ClipboardRecentContentIOS(
kChromeUIScheme, app_group::GetGroupUserDefaults()));
}

Powered by Google App Engine
This is Rietveld 408576698