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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc

Issue 1550053002: Convert Pass()→std::move() in //chrome/browser/ui (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: chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc
index 2353464fbdae2a444fc770b1b2c588e1683e6487..9eb155ae40acc7dd55978d0e7e1c75e580a829bd 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h"
#include <string>
+#include <utility>
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
@@ -60,11 +61,8 @@ class BookmarkBubbleViewTest : public BrowserWithTestWindowTest {
// Creates a bookmark bubble view.
void CreateBubbleView() {
scoped_ptr<BubbleSyncPromoDelegate> delegate;
- bubble_.reset(new BookmarkBubbleView(NULL,
- NULL,
- delegate.Pass(),
- profile(),
- GURL(kTestBookmarkURL),
+ bubble_.reset(new BookmarkBubbleView(NULL, NULL, std::move(delegate),
+ profile(), GURL(kTestBookmarkURL),
true));
}
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc ('k') | chrome/browser/ui/views/confirm_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698