summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/test_shell_main.cc')
-rw-r--r--webkit/tools/test_shell/test_shell_main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc
index 7cb00df..3feef80 100644
--- a/webkit/tools/test_shell/test_shell_main.cc
+++ b/webkit/tools/test_shell/test_shell_main.cc
@@ -241,7 +241,7 @@ int main(int argc, char* argv[]) {
starting_url = net::FilePathToFileURL(path);
const std::vector<CommandLine::StringType>& args = parsed_command_line.args();
- if (args.size() > 0) {
+ if (!args.empty()) {
GURL url(args[0]);
if (url.is_valid()) {
starting_url = url;