Index: ppapi/native_client/src/trusted/plugin/file_downloader.cc |
diff --git a/ppapi/native_client/src/trusted/plugin/file_downloader.cc b/ppapi/native_client/src/trusted/plugin/file_downloader.cc |
index 1118e1dba367b29e95721afad41085fbc3997581..cc25d28a1cd4fc940d974782ba7347c4ae8c3769 100644 |
--- a/ppapi/native_client/src/trusted/plugin/file_downloader.cc |
+++ b/ppapi/native_client/src/trusted/plugin/file_downloader.cc |
@@ -187,7 +187,7 @@ void FileDownloader::OpenFast(const nacl::string& url, |
mode_ = DOWNLOAD_NONE; |
if (file_handle != PP_kInvalidFileHandle) { |
NaClFileInfo tmp_info = NoFileInfo(); |
- tmp_info.desc = ConvertFileDescriptor(file_handle); |
+ tmp_info.desc = ConvertFileDescriptor(file_handle, true); |
tmp_info.file_token.lo = file_token_lo; |
tmp_info.file_token.hi = file_token_hi; |
file_info_.TakeOwnership(&tmp_info); |
@@ -407,7 +407,7 @@ void FileDownloader::GotFileHandleNotify(int32_t pp_error, |
pp_error)); |
if (pp_error == PP_OK) { |
NaClFileInfo tmp_info = NoFileInfo(); |
- tmp_info.desc = ConvertFileDescriptor(handle); |
+ tmp_info.desc = ConvertFileDescriptor(handle, false); |
file_info_.TakeOwnership(&tmp_info); |
} |