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

Unified Diff: chrome/browser/ui/cocoa/autofill/layout_view.h

Issue 1865213004: Convert //chrome/browser/ui 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: chrome/browser/ui/cocoa/autofill/layout_view.h
diff --git a/chrome/browser/ui/cocoa/autofill/layout_view.h b/chrome/browser/ui/cocoa/autofill/layout_view.h
index 4a9dc5826ba4241152349019669f5cc2cc4ce1cf..4700973944bb709fe69b07bdf1cf449401add668 100644
--- a/chrome/browser/ui/cocoa/autofill/layout_view.h
+++ b/chrome/browser/ui/cocoa/autofill/layout_view.h
@@ -7,18 +7,18 @@
#import <Cocoa/Cocoa.h>
-#include "base/memory/scoped_ptr.h"
+#include <memory>
class SimpleGridLayout;
// A view that carries its own layout manager. Re-layouts on setFrame:.
@interface LayoutView : NSView {
@private
- scoped_ptr<SimpleGridLayout> layout_;
+ std::unique_ptr<SimpleGridLayout> layout_;
}
// Sets a layout manager and takes ownership of it.
-- (void)setLayoutManager:(scoped_ptr<SimpleGridLayout>)layout;
+- (void)setLayoutManager:(std::unique_ptr<SimpleGridLayout>)layout;
// Return a pointer to layout manager, still owned by the view.
- (SimpleGridLayout*)layoutManager;
« no previous file with comments | « chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.h ('k') | chrome/browser/ui/cocoa/autofill/layout_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698