Index: webkit/glue/webfileutilities_impl.cc |
diff --git a/webkit/glue/webfileutilities_impl.cc b/webkit/glue/webfileutilities_impl.cc |
index c7f4c7c40bbe88ac29a255afde158b3d8eaae751..6e70ff5c2731497110e04de01cb97f266b5c6de1 100644 |
--- a/webkit/glue/webfileutilities_impl.cc |
+++ b/webkit/glue/webfileutilities_impl.cc |
@@ -31,8 +31,10 @@ bool WebFileUtilitiesImpl::getFileInfo(const WebString& path, |
NOTREACHED(); |
return false; |
} |
+ // TODO(rvargas): convert this code to use base::File::Info. |
base::PlatformFileInfo file_info; |
- if (!base::GetFileInfo(base::FilePath::FromUTF16Unsafe(path), &file_info)) |
+ if (!base::GetFileInfo(base::FilePath::FromUTF16Unsafe(path), |
+ reinterpret_cast<base::File::Info*>(&file_info))) |
return false; |
webkit_glue::PlatformFileInfoToWebFileInfo(file_info, &web_file_info); |