summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/accessibility_ui_element.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/accessibility_ui_element.cc')
-rw-r--r--webkit/tools/test_shell/accessibility_ui_element.cc2
1 files changed, 1 insertions, 1 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;
}