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

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

Issue 1579863003: Convert Pass()→std::move() for Mac build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « chrome/browser/ui/cocoa/accelerators_cocoa.mm ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/autofill/layout_view.mm
diff --git a/chrome/browser/ui/cocoa/autofill/layout_view.mm b/chrome/browser/ui/cocoa/autofill/layout_view.mm
index 04881e2ccec1dda453461935c3176e2c7d8df19f..59e7db9287c6dca37da507530584f32bf81cb4bd 100644
--- a/chrome/browser/ui/cocoa/autofill/layout_view.mm
+++ b/chrome/browser/ui/cocoa/autofill/layout_view.mm
@@ -4,12 +4,14 @@
#import "chrome/browser/ui/cocoa/autofill/layout_view.h"
+#include <utility>
+
#include "chrome/browser/ui/cocoa/autofill/simple_grid_layout.h"
@implementation LayoutView
- (void)setLayoutManager:(scoped_ptr<SimpleGridLayout>)layout {
- layout_ = layout.Pass();
+ layout_ = std::move(layout);
}
- (SimpleGridLayout*)layoutManager {
« no previous file with comments | « chrome/browser/ui/cocoa/accelerators_cocoa.mm ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698