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

Unified Diff: cc/output/gl_renderer.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/mirror_window_controller.cc ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index 5190e955130c73fb2af387b345e22efbaa67df8c..47f1b222c8b2937519ca0539f89a534ffd2bf160 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -3670,7 +3670,7 @@ void GLRenderer::ScheduleCALayers(DrawingFrame* frame) {
}
void GLRenderer::ScheduleOverlays(DrawingFrame* frame) {
- if (!frame->overlay_list.size())
+ if (frame->overlay_list.empty())
return;
OverlayCandidateList& overlays = frame->overlay_list;
« no previous file with comments | « ash/display/mirror_window_controller.cc ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698