Index: ppapi/shared_impl/url_request_info_data.cc |
diff --git a/ppapi/shared_impl/url_request_info_data.cc b/ppapi/shared_impl/url_request_info_data.cc |
index 8bb02a447f04f515aae0668f6d9f028da459bed4..15b278756083d9b2fe9471755eabab8ea050c2ba 100644 |
--- a/ppapi/shared_impl/url_request_info_data.cc |
+++ b/ppapi/shared_impl/url_request_info_data.cc |
@@ -17,6 +17,7 @@ const int32_t kDefaultPrefetchBufferLowerThreshold = 50 * 1000 * 1000; |
URLRequestInfoData::BodyItem::BodyItem() |
: is_file(false), |
+ file_ref_pp_resource(0), |
start_offset(0), |
number_of_bytes(-1), |
expected_last_modified_time(0.0) { |
@@ -25,6 +26,7 @@ URLRequestInfoData::BodyItem::BodyItem() |
URLRequestInfoData::BodyItem::BodyItem(const std::string& data) |
: is_file(false), |
data(data), |
+ file_ref_pp_resource(0), |
start_offset(0), |
number_of_bytes(-1), |
expected_last_modified_time(0.0) { |
@@ -36,8 +38,8 @@ URLRequestInfoData::BodyItem::BodyItem( |
int64_t number_of_bytes, |
PP_Time expected_last_modified_time) |
: is_file(true), |
- file_ref(file_ref), |
- file_ref_host_resource(file_ref->host_resource()), |
+ file_ref_resource(file_ref), |
+ file_ref_pp_resource(file_ref->pp_resource()), |
start_offset(start_offset), |
number_of_bytes(number_of_bytes), |
expected_last_modified_time(expected_last_modified_time) { |