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

Unified Diff: webkit/tools/test_shell/test_shell_mac.mm

Issue 6602049: Pure pedantry: Replace all ".size() == 0" with ".empty()". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
Index: webkit/tools/test_shell/test_shell_mac.mm
diff --git a/webkit/tools/test_shell/test_shell_mac.mm b/webkit/tools/test_shell/test_shell_mac.mm
index d001212e0b0a361fc10836a6a3e39797adfbd485..7d32c189ce7f9a9cd3596030c0c38cae3163a287 100644
--- a/webkit/tools/test_shell/test_shell_mac.mm
+++ b/webkit/tools/test_shell/test_shell_mac.mm
@@ -188,7 +188,7 @@ void TestShell::PlatformShutdown() {
[*it release];
}
// assert if we have anything left over, that would be bad.
- DCHECK(window_map_.Get().size() == 0);
+ DCHECK(window_map_.Get().empty());
// Dump the pasteboards we built up.
[DumpRenderTreePasteboard releaseLocalPasteboards];
« o3d/utils/cross/text_reader.cc ('K') | « webkit/tools/test_shell/accessibility_ui_element.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698