| Index: chrome/installer/util/logging_installer.cc
|
| diff --git a/chrome/installer/util/logging_installer.cc b/chrome/installer/util/logging_installer.cc
|
| index 75f3bc9dbc191dbbb6344f151779c1212d5e1156..18a734ec759fe25602e7cafc842b2c2efade95c3 100644
|
| --- a/chrome/installer/util/logging_installer.cc
|
| +++ b/chrome/installer/util/logging_installer.cc
|
| @@ -54,9 +54,8 @@ TruncateResult TruncateLogFileIfNeeded(const base::FilePath& log_file) {
|
| &old_log_data[0],
|
| kTruncatedInstallerLogFileSize);
|
| if (bytes_read > 0 &&
|
| - (bytes_read == file_util::WriteFile(log_file,
|
| - &old_log_data[0],
|
| - bytes_read) ||
|
| + (bytes_read == base::WriteFile(log_file, &old_log_data[0],
|
| + bytes_read) ||
|
| base::PathExists(log_file))) {
|
| result = LOGFILE_TRUNCATED;
|
| }
|
|
|