OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file input format is based loosely on | 5 // This file input format is based loosely on |
6 // WebKitTools/DumpRenderTree/ImageDiff.m | 6 // WebKitTools/DumpRenderTree/ImageDiff.m |
7 | 7 |
8 // The exact format of this tool's output to stdout is important, to match | 8 // The exact format of this tool's output to stdout is important, to match |
9 // what the run-webkit-tests script expects. | 9 // what the run-webkit-tests script expects. |
10 | 10 |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 WideToUTF8(values[1]).c_str(), | 355 WideToUTF8(values[1]).c_str(), |
356 WideToUTF8(values[2]).c_str()); | 356 WideToUTF8(values[2]).c_str()); |
357 } | 357 } |
358 } else if (values.size() == 2) { | 358 } else if (values.size() == 2) { |
359 return CompareImages(argv[1], argv[2]); | 359 return CompareImages(argv[1], argv[2]); |
360 } | 360 } |
361 | 361 |
362 PrintHelp(); | 362 PrintHelp(); |
363 return kStatusError; | 363 return kStatusError; |
364 } | 364 } |
OLD | NEW |