Index: content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc |
diff --git a/content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc b/content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc |
index 8ddf86ad4b302aa131d3a70b7a09cdc0d025294a..c3ec26cd9701fd3a7e8332f05da283359bcf69f4 100644 |
--- a/content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc |
+++ b/content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc |
@@ -209,8 +209,10 @@ int32_t PepperFlashFileMessageFilter::OnQueryFile( |
base::PLATFORM_FILE_ERROR_ACCESS_DENIED); |
} |
+ // TODO(rvargas): convert this code to use base::File::Info. |
base::PlatformFileInfo info; |
- bool result = base::GetFileInfo(full_path, &info); |
+ bool result = base::GetFileInfo(full_path, |
+ reinterpret_cast<base::File::Info*>(&info)); |
context->reply_msg = PpapiPluginMsg_FlashFile_QueryFileReply(info); |
return ppapi::PlatformFileErrorToPepperError(result ? |
base::PLATFORM_FILE_OK : base::PLATFORM_FILE_ERROR_ACCESS_DENIED); |