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

Unified Diff: content/browser/frame_host/navigation_entry_impl.cc

Issue 1545243002: Convert Pass()→std::move() in //content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: content/browser/frame_host/navigation_entry_impl.cc
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc
index bab62481114b3420876f10e750f5df0c17ed3103..6bf6c1317c01957f138cb34e765b1d5ddafcf33d 100644
--- a/content/browser/frame_host/navigation_entry_impl.cc
+++ b/content/browser/frame_host/navigation_entry_impl.cc
@@ -129,11 +129,11 @@ NavigationEntryImpl::TreeNode::CloneAndReplace(
child->CloneAndReplace(frame_tree_node, frame_navigation_entry));
}
- return copy.Pass();
+ return copy;
}
scoped_ptr<NavigationEntry> NavigationEntry::Create() {
- return make_scoped_ptr(new NavigationEntryImpl()).Pass();
+ return make_scoped_ptr(new NavigationEntryImpl());
}
NavigationEntryImpl* NavigationEntryImpl::FromNavigationEntry(
@@ -554,7 +554,7 @@ scoped_ptr<NavigationEntryImpl> NavigationEntryImpl::CloneAndReplace(
// ResetForCommit: intent_received_timestamp_
copy->extra_data_ = extra_data_;
- return copy.Pass();
+ return copy;
}
CommonNavigationParams NavigationEntryImpl::ConstructCommonNavigationParams(

Powered by Google App Engine
This is Rietveld 408576698