summaryrefslogtreecommitdiffstats
path: root/webkit/plugins
diff options
context:
space:
mode:
authorbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-01 00:40:37 +0000
committerbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-01 00:40:37 +0000
commit60c12bf6a46a1d2f277d0038e85fa1bb57b3b686 (patch)
tree6aa6a7f933b042e8747dcb79b3e7727271be443b /webkit/plugins
parentf711f82521226a004ea438a0cb2b22962821aac0 (diff)
downloadchromium_src-60c12bf6a46a1d2f277d0038e85fa1bb57b3b686.zip
chromium_src-60c12bf6a46a1d2f277d0038e85fa1bb57b3b686.tar.gz
chromium_src-60c12bf6a46a1d2f277d0038e85fa1bb57b3b686.tar.bz2
Fixing the same issue for ppapi that was fixed for npapi here:
http://code.google.com/p/chromium/issues/detail?id=36957 R=wtc@chromium.org BUG=36957 TEST=None Review URL: http://codereview.chromium.org/7294014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins')
-rw-r--r--webkit/plugins/ppapi/ppb_url_request_info_impl.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/ppb_url_request_info_impl.cc b/webkit/plugins/ppapi/ppb_url_request_info_impl.cc
index 9494aab..6b95020 100644
--- a/webkit/plugins/ppapi/ppb_url_request_info_impl.cc
+++ b/webkit/plugins/ppapi/ppb_url_request_info_impl.cc
@@ -206,6 +206,9 @@ WebURLRequest PPB_URLRequestInfo_Impl::ToWebURLRequest(WebFrame* frame) const {
if (!method_.empty())
web_request.setHTTPMethod(WebString::fromUTF8(method_));
+ web_request.setFirstPartyForCookies(
+ frame->document().firstPartyForCookies());
+
if (!headers_.empty()) {
net::HttpUtil::HeadersIterator it(headers_.begin(), headers_.end(), "\n");
while (it.GetNext()) {