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)); |
} |