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: ui/message_center/views/message_popup_collection_unittest.cc

Issue 2646863002: Fix unused lambda captures in //chrome, //services/ui and //ui. (Closed)
Patch Set: Created 3 years, 11 months 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
« no previous file with comments | « services/ui/ws/user_display_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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())
« no previous file with comments | « services/ui/ws/user_display_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698