| Index: base/file_util_win.cc
|
| diff --git a/base/file_util_win.cc b/base/file_util_win.cc
|
| index eb9c6dc23dcf3f3eff8177d6c5083f7a9318385d..fa41aba90756f300ac98c2fefe8afdb454c07e36 100644
|
| --- a/base/file_util_win.cc
|
| +++ b/base/file_util_win.cc
|
| @@ -600,8 +600,8 @@ int WriteFile(const FilePath& filename, const char* data, int size) {
|
| 0,
|
| NULL));
|
| if (!file) {
|
| - DLOG_GETLASTERROR(WARNING) << "CreateFile failed for path "
|
| - << UTF16ToUTF8(filename.value());
|
| + DPLOG(WARNING) << "CreateFile failed for path "
|
| + << UTF16ToUTF8(filename.value());
|
| return -1;
|
| }
|
|
|
| @@ -612,8 +612,8 @@ int WriteFile(const FilePath& filename, const char* data, int size) {
|
|
|
| if (!result) {
|
| // WriteFile failed.
|
| - DLOG_GETLASTERROR(WARNING) << "writing file "
|
| - << UTF16ToUTF8(filename.value()) << " failed";
|
| + DPLOG(WARNING) << "writing file " << UTF16ToUTF8(filename.value())
|
| + << " failed";
|
| } else {
|
| // Didn't write all the bytes.
|
| DLOG(WARNING) << "wrote" << written << " bytes to "
|
| @@ -632,8 +632,8 @@ int AppendToFile(const FilePath& filename, const char* data, int size) {
|
| 0,
|
| NULL));
|
| if (!file) {
|
| - DLOG_GETLASTERROR(WARNING) << "CreateFile failed for path "
|
| - << UTF16ToUTF8(filename.value());
|
| + DPLOG(WARNING) << "CreateFile failed for path "
|
| + << UTF16ToUTF8(filename.value());
|
| return -1;
|
| }
|
|
|
| @@ -644,9 +644,8 @@ int AppendToFile(const FilePath& filename, const char* data, int size) {
|
|
|
| if (!result) {
|
| // WriteFile failed.
|
| - DLOG_GETLASTERROR(WARNING) << "writing file "
|
| - << UTF16ToUTF8(filename.value())
|
| - << " failed";
|
| + DPLOG(WARNING) << "writing file " << UTF16ToUTF8(filename.value())
|
| + << " failed";
|
| } else {
|
| // Didn't write all the bytes.
|
| DLOG(WARNING) << "wrote" << written << " bytes to "
|
|
|