summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell')
-rw-r--r--webkit/tools/test_shell/accessibility_ui_element.cc2
-rw-r--r--webkit/tools/test_shell/test_shell_mac.mm2
2 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/accessibility_ui_element.cc b/webkit/tools/test_shell/accessibility_ui_element.cc
index e1a9d1c..78988a9 100644
--- a/webkit/tools/test_shell/accessibility_ui_element.cc
+++ b/webkit/tools/test_shell/accessibility_ui_element.cc
@@ -362,7 +362,7 @@ void AccessibilityUIElement::StringForRangeCallback(
void AccessibilityUIElement::ChildAtIndexCallback(
const CppArgumentList& args, CppVariant* result) {
- if (args.size() == 0 || !args[0].isNumber()) {
+ if (args.empty() || !args[0].isNumber()) {
result->SetNull();
return;
}
diff --git a/webkit/tools/test_shell/test_shell_mac.mm b/webkit/tools/test_shell/test_shell_mac.mm
index d001212..7d32c18 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];