Index: webkit/tools/test_shell/test_shell_main.cc |
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc |
index 40ca29d1f58c2aed6d47910a0626a0c945fa31c3..763d949c5318d2cbf3cca1818ca6d35bea3928cc 100644 |
--- a/webkit/tools/test_shell/test_shell_main.cc |
+++ b/webkit/tools/test_shell/test_shell_main.cc |
@@ -227,8 +227,7 @@ int main(int argc, char* argv[]) { |
starting_url = url; |
} else { |
// Treat as a relative file path. |
- base::FilePath path = base::FilePath(args[0]); |
- file_util::AbsolutePath(&path); |
+ base::FilePath path = base::MakeAbsoluteFilePath(base::FilePath(args[0])); |
starting_url = net::FilePathToFileURL(path); |
} |
} |