summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_npapi.cc
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-17 18:15:40 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-17 18:15:40 +0000
commit2ce57c782597859abf4ae85dfe0164610df49e7a (patch)
treed16df426877bbc024ff0f9813aeec29569440084 /chrome_frame/chrome_frame_npapi.cc
parentfd28608aceedf16528eb0666dd15a9b3644fed5b (diff)
downloadchromium_src-2ce57c782597859abf4ae85dfe0164610df49e7a.zip
chromium_src-2ce57c782597859abf4ae85dfe0164610df49e7a.tar.gz
chromium_src-2ce57c782597859abf4ae85dfe0164610df49e7a.tar.bz2
Don't treat CF in privileged mode as an iframe for framebusting
headers. BUG=none TEST=none Review URL: http://codereview.chromium.org/402013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_npapi.cc')
-rw-r--r--chrome_frame/chrome_frame_npapi.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/chrome_frame_npapi.cc b/chrome_frame/chrome_frame_npapi.cc
index 620db8d..509f083 100644
--- a/chrome_frame/chrome_frame_npapi.cc
+++ b/chrome_frame/chrome_frame_npapi.cc
@@ -669,7 +669,7 @@ void ChromeFrameNPAPI::OnRequestStart(int tab_handle, int request_id,
if (new_request->Initialize(automation_client_.get(), tab_handle,
request_id, request.url, request.method,
request.referrer, request.extra_request_headers,
- request.upload_data.get(), true)) {
+ request.upload_data.get(), !is_privileged_)) {
if (new_request->Start()) {
// Keep additional reference on request for NPSTREAM
// This will be released in NPP_UrlNotify