| Index: content/renderer/pepper/url_request_info_util.cc
|
| diff --git a/content/renderer/pepper/url_request_info_util.cc b/content/renderer/pepper/url_request_info_util.cc
|
| index 952994a6b02eec9120455ce4ea55c636256fc38a..b5cd64bd997cef50d6467ab66ad371dc2828f59d 100644
|
| --- a/content/renderer/pepper/url_request_info_util.cc
|
| +++ b/content/renderer/pepper/url_request_info_util.cc
|
| @@ -24,6 +24,7 @@
|
| #include "ppapi/shared_impl/url_request_info_data.h"
|
| #include "ppapi/shared_impl/var.h"
|
| #include "ppapi/thunk/enter.h"
|
| +#include "third_party/WebKit/public/platform/FilePathConversion.h"
|
| #include "third_party/WebKit/public/platform/WebData.h"
|
| #include "third_party/WebKit/public/platform/WebHTTPBody.h"
|
| #include "third_party/WebKit/public/platform/WebURL.h"
|
| @@ -86,9 +87,8 @@ bool AppendFileRefToBody(PP_Instance instance,
|
| default:
|
| NOTREACHED();
|
| }
|
| - http_body->appendFileRange(platform_path.AsUTF16Unsafe(),
|
| - start_offset,
|
| - number_of_bytes,
|
| + http_body->appendFileRange(blink::FilePathToWebString(platform_path),
|
| + start_offset, number_of_bytes,
|
| expected_last_modified_time);
|
| return true;
|
| }
|
|
|