Index: chrome/browser/ui/cocoa/cocoa_test_helper.mm |
diff --git a/chrome/browser/ui/cocoa/cocoa_test_helper.mm b/chrome/browser/ui/cocoa/cocoa_test_helper.mm |
index b4c68d9ad3e40adef27faebcc2174948a938a0da..de9c0400d8576777ad64fd2d697a427b0973af67 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 = |