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

Unified Diff: ash/display/mirror_window_controller.cc

Issue 2070283002: Use container::back() and container::pop_back(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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 | « ash/display/display_manager.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/mirror_window_controller.cc
diff --git a/ash/display/mirror_window_controller.cc b/ash/display/mirror_window_controller.cc
index 1bdbc1b69a15a6a385e2a6700da6a8b4a9ba0197..73d03b0c3493bbe91fdbce7d87cc0040eb0d1205 100644
--- a/ash/display/mirror_window_controller.cc
+++ b/ash/display/mirror_window_controller.cc
@@ -270,7 +270,7 @@ void MirrorWindowController::UpdateWindow(
}
void MirrorWindowController::UpdateWindow() {
- if (!mirroring_host_info_map_.size())
+ if (mirroring_host_info_map_.empty())
return;
DisplayManager* display_manager = Shell::GetInstance()->display_manager();
std::vector<DisplayInfo> display_info_list;
« no previous file with comments | « ash/display/display_manager.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698