| Index: ppapi/cpp/url_request_info.cc
|
| ===================================================================
|
| --- ppapi/cpp/url_request_info.cc (revision 91773)
|
| +++ ppapi/cpp/url_request_info.cc (working copy)
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "ppapi/cpp/url_request_info.h"
|
|
|
| -#include "ppapi/cpp/common.h"
|
| #include "ppapi/cpp/dev/file_ref_dev.h"
|
| #include "ppapi/cpp/instance.h"
|
| #include "ppapi/cpp/module.h"
|
| @@ -35,14 +34,14 @@
|
| const Var& value) {
|
| if (!has_interface<PPB_URLRequestInfo>())
|
| return false;
|
| - return PPBoolToBool(get_interface<PPB_URLRequestInfo>()->SetProperty(
|
| + return PP_ToBool(get_interface<PPB_URLRequestInfo>()->SetProperty(
|
| pp_resource(), property, value.pp_var()));
|
| }
|
|
|
| bool URLRequestInfo::AppendDataToBody(const void* data, uint32_t len) {
|
| if (!has_interface<PPB_URLRequestInfo>())
|
| return false;
|
| - return PPBoolToBool(get_interface<PPB_URLRequestInfo>()->AppendDataToBody(
|
| + return PP_ToBool(get_interface<PPB_URLRequestInfo>()->AppendDataToBody(
|
| pp_resource(), data, len));
|
| }
|
|
|
| @@ -50,7 +49,7 @@
|
| PP_Time expected_last_modified_time) {
|
| if (!has_interface<PPB_URLRequestInfo>())
|
| return false;
|
| - return PPBoolToBool(
|
| + return PP_ToBool(
|
| get_interface<PPB_URLRequestInfo>()->AppendFileToBody(
|
| pp_resource(),
|
| file_ref.pp_resource(),
|
| @@ -66,13 +65,12 @@
|
| PP_Time expected_last_modified_time) {
|
| if (!has_interface<PPB_URLRequestInfo>())
|
| return false;
|
| - return PPBoolToBool(
|
| - get_interface<PPB_URLRequestInfo>()->AppendFileToBody(
|
| - pp_resource(),
|
| - file_ref.pp_resource(),
|
| - start_offset,
|
| - length,
|
| - expected_last_modified_time));
|
| + return PP_ToBool(get_interface<PPB_URLRequestInfo>()->AppendFileToBody(
|
| + pp_resource(),
|
| + file_ref.pp_resource(),
|
| + start_offset,
|
| + length,
|
| + expected_last_modified_time));
|
| }
|
|
|
| } // namespace pp
|
|
|