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

Unified Diff: ios/web/navigation/navigation_item_impl.mm

Issue 1586833002: Convert Pass()→std::move() for iOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert accidental //base change 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 | « ios/web/navigation/crw_session_entry_unittest.mm ('k') | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/navigation/navigation_item_impl.mm
diff --git a/ios/web/navigation/navigation_item_impl.mm b/ios/web/navigation/navigation_item_impl.mm
index 9d5e3a0680f199813a8d6305798e55a2f2ef7a71..121323f2280145c3b36bc75597dd316c8e565b77 100644
--- a/ios/web/navigation/navigation_item_impl.mm
+++ b/ios/web/navigation/navigation_item_impl.mm
@@ -6,6 +6,8 @@
#include <stddef.h>
+#include <utility>
+
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "components/url_formatter/url_formatter.h"
@@ -70,7 +72,7 @@ NavigationItemImpl::NavigationItemImpl(const NavigationItemImpl& item)
void NavigationItemImpl::SetFacadeDelegate(
scoped_ptr<NavigationItemFacadeDelegate> facade_delegate) {
- facade_delegate_ = facade_delegate.Pass();
+ facade_delegate_ = std::move(facade_delegate);
}
NavigationItemFacadeDelegate* NavigationItemImpl::GetFacadeDelegate() const {
« no previous file with comments | « ios/web/navigation/crw_session_entry_unittest.mm ('k') | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698