| Index: chrome/test/base/ui_test_utils.cc
|
| diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
|
| index 61f8b269eb5eaecb8baed8944d85904e0da98bd1..6fe7fecbbf33076882c346340e1cff9a57b60d88 100644
|
| --- a/chrome/test/base/ui_test_utils.cc
|
| +++ b/chrome/test/base/ui_test_utils.cc
|
| @@ -109,14 +109,14 @@ base::FilePath GetSnapshotFileName(const base::FilePath& snapshot_directory) {
|
| the_time.hour, the_time.minute, the_time.second, kSnapshotExtension));
|
|
|
| base::FilePath snapshot_file = snapshot_directory.AppendASCII(filename);
|
| - if (file_util::PathExists(snapshot_file)) {
|
| + if (base::PathExists(snapshot_file)) {
|
| int index = 0;
|
| std::string suffix;
|
| base::FilePath trial_file;
|
| do {
|
| suffix = base::StringPrintf(" (%d)", ++index);
|
| trial_file = snapshot_file.InsertBeforeExtensionASCII(suffix);
|
| - } while (file_util::PathExists(trial_file));
|
| + } while (base::PathExists(trial_file));
|
| snapshot_file = trial_file;
|
| }
|
| return snapshot_file;
|
|
|