| Index: ui/message_center/views/message_popup_collection_unittest.cc
|
| diff --git a/ui/message_center/views/message_popup_collection_unittest.cc b/ui/message_center/views/message_popup_collection_unittest.cc
|
| index d621d857c1f0a1592499a6815ad7019cc699e147..bcbccf2fafabdc2e8de5b11a541c31b5a49eb354 100644
|
| --- a/ui/message_center/views/message_popup_collection_unittest.cc
|
| +++ b/ui/message_center/views/message_popup_collection_unittest.cc
|
| @@ -270,7 +270,7 @@ void MessagePopupCollectionTest::CheckedAnimationDelegate::
|
| return;
|
| auto poorly_aligned = std::adjacent_find(
|
| toasts_->begin(), toasts_->end(),
|
| - [this](ToastContentsView* top, ToastContentsView* bottom) {
|
| + [](ToastContentsView* top, ToastContentsView* bottom) {
|
| return ComputeYDistance(*top, *bottom) != kMarginBetweenItems;
|
| });
|
| if (poorly_aligned != toasts_->end())
|
| @@ -289,7 +289,7 @@ void MessagePopupCollectionTest::CheckedAnimationDelegate::
|
| return;
|
| auto poorly_aligned = std::adjacent_find(
|
| toasts_->begin(), toasts_->end(),
|
| - [this](ToastContentsView* top, ToastContentsView* bottom) {
|
| + [](ToastContentsView* top, ToastContentsView* bottom) {
|
| return ComputeYDistance(*top, *bottom) < 0;
|
| });
|
| if (poorly_aligned != toasts_->end())
|
|
|