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

Unified Diff: components/sync_sessions/revisit/bookmarks_page_revisit_observer.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers 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: components/sync_sessions/revisit/bookmarks_page_revisit_observer.cc
diff --git a/components/sync_sessions/revisit/bookmarks_page_revisit_observer.cc b/components/sync_sessions/revisit/bookmarks_page_revisit_observer.cc
index ac64731c6973bb4332c27f63d0c0cb32e6396199..20b44c909ac1ef1309e53a80c0589d74bb387268 100644
--- a/components/sync_sessions/revisit/bookmarks_page_revisit_observer.cc
+++ b/components/sync_sessions/revisit/bookmarks_page_revisit_observer.cc
@@ -5,6 +5,7 @@
#include "components/sync_sessions/revisit/bookmarks_page_revisit_observer.h"
#include <algorithm>
+#include <utility>
#include "base/metrics/histogram_macros.h"
#include "base/time/time.h"
@@ -16,7 +17,7 @@ namespace sync_sessions {
BookmarksPageRevisitObserver::BookmarksPageRevisitObserver(
scoped_ptr<BookmarksByUrlProvider> provider)
- : provider_(provider.Pass()) {}
+ : provider_(std::move(provider)) {}
BookmarksPageRevisitObserver::~BookmarksPageRevisitObserver() {}
« no previous file with comments | « components/sync_sessions/favicon_cache.cc ('k') | components/sync_sessions/revisit/sessions_page_revisit_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698