| Index: ui/message_center/views/message_center_view_unittest.cc
|
| diff --git a/ui/message_center/views/message_center_view_unittest.cc b/ui/message_center/views/message_center_view_unittest.cc
|
| index 7a4ac518729bd2ff83f8a62ba49bb693d3c0ef1e..8c3043a3cf2b484655d2f5ccef90dcff4f77ed75 100644
|
| --- a/ui/message_center/views/message_center_view_unittest.cc
|
| +++ b/ui/message_center/views/message_center_view_unittest.cc
|
| @@ -2,7 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "ui/message_center/views/message_center_view.h"
|
| +
|
| #include <map>
|
| +#include <utility>
|
|
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -14,7 +17,6 @@
|
| #include "ui/message_center/notification_list.h"
|
| #include "ui/message_center/notification_types.h"
|
| #include "ui/message_center/views/message_center_controller.h"
|
| -#include "ui/message_center/views/message_center_view.h"
|
| #include "ui/message_center/views/message_list_view.h"
|
| #include "ui/message_center/views/notification_view.h"
|
|
|
| @@ -358,7 +360,7 @@ TEST_F(MessageCenterViewTest, SizeAfterUpdate) {
|
|
|
| int previous_height = GetMessageListView()->height();
|
|
|
| - UpdateNotification(kNotificationId2, notification.Pass());
|
| + UpdateNotification(kNotificationId2, std::move(notification));
|
|
|
| // Wait until the animation finishes if available.
|
| if (GetAnimator()->IsAnimating())
|
| @@ -416,7 +418,7 @@ TEST_F(MessageCenterViewTest, PositionAfterUpdate) {
|
| gfx::Image(), base::UTF8ToUTF16("display source"), GURL(),
|
| NotifierId(NotifierId::APPLICATION, "extension_id"),
|
| message_center::RichNotificationData(), NULL));
|
| - UpdateNotification(kNotificationId2, notification.Pass());
|
| + UpdateNotification(kNotificationId2, std::move(notification));
|
|
|
| // Wait until the animation finishes if available.
|
| if (GetAnimator()->IsAnimating())
|
|
|