| 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 e82c8a1861230a0bf5664443b6e09c8c6baac546..b96f6d88280c544a0df089a01c86fdaa81937363 100644
|
| --- a/content/renderer/pepper/url_request_info_util.cc
|
| +++ b/content/renderer/pepper/url_request_info_util.cc
|
| @@ -18,7 +18,6 @@
|
| #include "third_party/WebKit/public/platform/WebData.h"
|
| #include "third_party/WebKit/public/platform/WebHTTPBody.h"
|
| #include "third_party/WebKit/public/platform/WebURL.h"
|
| -#include "third_party/WebKit/public/platform/WebURLRequest.h"
|
| #include "third_party/WebKit/public/web/WebDocument.h"
|
| #include "third_party/WebKit/public/web/WebFrame.h"
|
| #include "url/gurl.h"
|
| @@ -115,6 +114,7 @@ bool EnsureFileRefObjectsPopulated(ppapi::URLRequestInfoData* data) {
|
| } // namespace
|
|
|
| bool CreateWebURLRequest(ppapi::URLRequestInfoData* data,
|
| + WebURLRequest::TargetType target_type,
|
| WebFrame* frame,
|
| WebURLRequest* dest) {
|
| // In the out-of-process case, we've received the URLRequestInfoData
|
| @@ -124,7 +124,7 @@ bool CreateWebURLRequest(ppapi::URLRequestInfoData* data,
|
| return false;
|
|
|
| dest->initialize();
|
| - dest->setTargetType(WebURLRequest::TargetIsObject);
|
| + dest->setTargetType(target_type);
|
| dest->setURL(frame->document().completeURL(WebString::fromUTF8(
|
| data->url)));
|
| dest->setDownloadToFile(data->stream_to_file);
|
|
|