| 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 412cd3a32db76b7683f8ec1d93ea3329fd1d5e6c..5cca69d0b55dba9b6ecc4c1377c92eb10ce21ebf 100644
|
| --- a/webkit/tools/test_shell/test_shell_main.cc
|
| +++ b/webkit/tools/test_shell/test_shell_main.cc
|
| @@ -305,9 +305,9 @@ int main(int argc, char* argv[]) {
|
| if (parsed_command_line.HasSwitch(test_shell::kDumpPixels)) {
|
| // The pixel test flag also gives the image file name to use.
|
| params.dump_pixels = true;
|
| - params.pixel_file_name = parsed_command_line.GetSwitchValue(
|
| + params.pixel_file_name = parsed_command_line.GetSwitchValuePath(
|
| test_shell::kDumpPixels);
|
| - if (params.pixel_file_name.size() == 0) {
|
| + if (params.pixel_file_name.empty()) {
|
| fprintf(stderr, "No file specified for pixel tests");
|
| exit(1);
|
| }
|
|
|