diff --git a/tests/cefclient/browser/root_window_manager.cc b/tests/cefclient/browser/root_window_manager.cc index 933539732..f3840674e 100644 --- a/tests/cefclient/browser/root_window_manager.cc +++ b/tests/cefclient/browser/root_window_manager.cc @@ -251,7 +251,7 @@ void RootWindowManager::CloseAllWindows(bool force) { // in OnRootWindowDestroyed while iterating. RootWindowSet root_windows = root_windows_; - for (auto root_window : root_windows_) { + for (auto root_window : root_windows) { root_window->Close(force); } }