| Index: content/renderer/npapi/webplugin_impl.cc
|
| diff --git a/content/renderer/npapi/webplugin_impl.cc b/content/renderer/npapi/webplugin_impl.cc
|
| index 8aca907d782ac30e4c046a155e0e3af67fbaa7e4..c3e5113309e0fbe5132578a6d5c5fe5a74721640 100644
|
| --- a/content/renderer/npapi/webplugin_impl.cc
|
| +++ b/content/renderer/npapi/webplugin_impl.cc
|
| @@ -1283,7 +1283,10 @@ bool WebPluginImpl::InitiateHTTPRequest(unsigned long resource_id,
|
| info.request.setFirstPartyForCookies(
|
| webframe_->document().firstPartyForCookies());
|
| info.request.setRequestorProcessID(delegate_->GetProcessId());
|
| - info.request.setTargetType(WebURLRequest::TargetIsObject);
|
| + // TODO(mkwst): Is this a request for a plugin object itself
|
| + // (RequestContextObject), or a request that the plugin makes
|
| + // (RequestContextPlugin)?
|
| + info.request.setRequestContext(WebURLRequest::RequestContextPlugin);
|
| info.request.setHTTPMethod(WebString::fromUTF8(method));
|
| info.pending_failure_notification = false;
|
| info.notify_redirects = notify_redirects;
|
|
|