| Index: base/file_util_win.cc
|
| ===================================================================
|
| --- base/file_util_win.cc (revision 4466)
|
| +++ base/file_util_win.cc (working copy)
|
| @@ -456,9 +456,9 @@
|
| return err == ERROR_SUCCESS;
|
| }
|
|
|
| -bool GetFileInfo(const std::wstring& file_path, FileInfo* results) {
|
| +bool GetFileInfo(const FilePath& file_path, FileInfo* results) {
|
| WIN32_FILE_ATTRIBUTE_DATA attr;
|
| - if (!GetFileAttributesEx(file_path.c_str(), GetFileExInfoStandard, &attr))
|
| + if (!GetFileAttributesEx(file_path.ToWstringHack().c_str(), GetFileExInfoStandard, &attr))
|
| return false;
|
|
|
| ULARGE_INTEGER size;
|
|
|