| Index: webkit/plugins/ppapi/url_request_info_util.cc
|
| diff --git a/webkit/plugins/ppapi/url_request_info_util.cc b/webkit/plugins/ppapi/url_request_info_util.cc
|
| index 095c9df2e16d0629f6f2dee290dc295eb808cd55..8706a3cf1515182ad7727362a4bcc53289165b40 100644
|
| --- a/webkit/plugins/ppapi/url_request_info_util.cc
|
| +++ b/webkit/plugins/ppapi/url_request_info_util.cc
|
| @@ -106,7 +106,7 @@ bool EnsureFileRefObjectsPopulated(::ppapi::URLRequestInfoData* data) {
|
| // is the state of the request as it comes off IPC).
|
| for (size_t i = 0; i < data->body.size(); ++i) {
|
| URLRequestInfoData::BodyItem& item = data->body[i];
|
| - if (item.is_file && !item.file_ref) {
|
| + if (item.is_file && !item.file_ref.get()) {
|
| EnterResourceNoLock<PPB_FileRef_API> enter(
|
| item.file_ref_host_resource.host_resource(), false);
|
| if (!enter.succeeded())
|
| @@ -157,7 +157,7 @@ bool CreateWebURLRequest(::ppapi::URLRequestInfoData* data,
|
| for (size_t i = 0; i < data->body.size(); ++i) {
|
| const URLRequestInfoData::BodyItem& item = data->body[i];
|
| if (item.is_file) {
|
| - if (!AppendFileRefToBody(item.file_ref,
|
| + if (!AppendFileRefToBody(item.file_ref.get(),
|
| item.start_offset,
|
| item.number_of_bytes,
|
| item.expected_last_modified_time,
|
|
|