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

Unified Diff: services/ui/ws/user_display_manager.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
Index: services/ui/ws/user_display_manager.cc
diff --git a/services/ui/ws/user_display_manager.cc b/services/ui/ws/user_display_manager.cc
index 47c1fff6cd18f11f04c28bde7125b686024a6854..f33d797730c889f07ec279a9d1f79a40eb94e2e6 100644
--- a/services/ui/ws/user_display_manager.cc
+++ b/services/ui/ws/user_display_manager.cc
@@ -50,7 +50,7 @@ void UserDisplayManager::OnFrameDecorationValuesChanged() {
std::vector<mojom::WsDisplayPtr> displays = GetAllDisplays();
display_manager_observers_.ForAllPtrs(
- [this, &displays](mojom::DisplayManagerObserver* observer) {
+ [&displays](mojom::DisplayManagerObserver* observer) {
observer->OnDisplaysChanged(CloneDisplays(displays));
});
}

Powered by Google App Engine
This is Rietveld 408576698