diff options
Diffstat (limited to 'chrome/test/base/ui_test_utils.cc')
-rw-r--r-- | chrome/test/base/ui_test_utils.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc index 61f8b26..6fe7fec 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; |