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

Unified Diff: gpu/tools/compositor_model_bench/compositor_model_bench.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 | « gpu/perftests/texture_upload_perftest.cc ('k') | headless/public/util/error_reporter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/tools/compositor_model_bench/compositor_model_bench.cc
diff --git a/gpu/tools/compositor_model_bench/compositor_model_bench.cc b/gpu/tools/compositor_model_bench/compositor_model_bench.cc
index dca35a7b3fa3ca68b247bb04cd62c48cdfa87a0f..2cf79d0ed8ed8930594a0d5c75425c12bcf232fd 100644
--- a/gpu/tools/compositor_model_bench/compositor_model_bench.cc
+++ b/gpu/tools/compositor_model_bench/compositor_model_bench.cc
@@ -105,7 +105,7 @@ class Simulator {
}
void Run() {
- if (!sims_remaining_.size()) {
+ if (sims_remaining_.empty()) {
LOG(WARNING) << "No configuration files loaded.";
return;
}
@@ -321,7 +321,7 @@ class Simulator {
}
}
- if (!sims_remaining_.size()) {
+ if (sims_remaining_.empty()) {
DumpOutput();
base::MessageLoop::current()->QuitWhenIdle();
return false;
« no previous file with comments | « gpu/perftests/texture_upload_perftest.cc ('k') | headless/public/util/error_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698