summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/cocoa_test_helper.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/cocoa_test_helper.mm')
-rw-r--r--chrome/browser/ui/cocoa/cocoa_test_helper.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/cocoa/cocoa_test_helper.mm b/chrome/browser/ui/cocoa/cocoa_test_helper.mm
index b4c68d9..de9c040 100644
--- a/chrome/browser/ui/cocoa/cocoa_test_helper.mm
+++ b/chrome/browser/ui/cocoa/cocoa_test_helper.mm
@@ -111,7 +111,7 @@ void CocoaTest::TearDown() {
// started.
std::set<NSWindow*> windows_left(WindowsLeft());
- while (windows_left.size() > 0) {
+ while (!windows_left.empty()) {
// Cover delayed actions by spinning the loop at least once after
// this timeout.
const NSTimeInterval kCloseTimeoutSeconds =