| Index: base/file_util_win.cc
|
| ===================================================================
|
| --- base/file_util_win.cc (revision 4655)
|
| +++ base/file_util_win.cc (working copy)
|
| @@ -458,8 +458,10 @@
|
|
|
| bool GetFileInfo(const FilePath& file_path, FileInfo* results) {
|
| WIN32_FILE_ATTRIBUTE_DATA attr;
|
| - if (!GetFileAttributesEx(file_path.ToWstringHack().c_str(), GetFileExInfoStandard, &attr))
|
| + if (!GetFileAttributesEx(file_path.ToWStringHack().c_str(),
|
| + GetFileExInfoStandard, &attr)) {
|
| return false;
|
| + }
|
|
|
| ULARGE_INTEGER size;
|
| size.HighPart = attr.nFileSizeHigh;
|
|
|