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

Unified Diff: mash/simple_wm/simple_wm.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase Created 3 years, 10 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: mash/simple_wm/simple_wm.cc
diff --git a/mash/simple_wm/simple_wm.cc b/mash/simple_wm/simple_wm.cc
index b8f98a75bcdb6be7fd1b2567edb6297f55605601..e8c4b45e6d88a7e79420aa115c451f2430970490 100644
--- a/mash/simple_wm/simple_wm.cc
+++ b/mash/simple_wm/simple_wm.cc
@@ -46,7 +46,7 @@ class SimpleWM::WindowListModel : public aura::WindowObserver {
}
~WindowListModel() override {
window_container_->RemoveObserver(this);
- for (auto window : windows_)
+ for (auto* window : windows_)
window->RemoveObserver(this);
}
« no previous file with comments | « headless/lib/browser/headless_content_browser_client.cc ('k') | media/capture/video/fake_video_capture_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698