summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-12 16:21:03 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-12 16:21:03 +0000
commit9ae66cbfa635128767fe693a872acc7bc73bbde7 (patch)
treeddd2a2d1f1690d68abf16eedfe746de0419763f1 /chrome/browser/tab_contents
parent0fe5941ed2050e23611dba1ef09b5319d76ecc08 (diff)
downloadchromium_src-9ae66cbfa635128767fe693a872acc7bc73bbde7.zip
chromium_src-9ae66cbfa635128767fe693a872acc7bc73bbde7.tar.gz
chromium_src-9ae66cbfa635128767fe693a872acc7bc73bbde7.tar.bz2
Be slightly more precise in how we propagate mixed content state.
Mixed content can't really propagate from one process to another, so we don't need to break the lock icon for every tab in the same origin when we see insecure content. We need only break the lock icon for all the tabs in the same process. R=jcampan TEST=SSLUITest.TestMixedContentsTwoTabs Review URL: http://codereview.chromium.org/115230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15858 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/tab_contents.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 9cea219..5bc2cacd 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -1836,7 +1836,7 @@ void TabContents::DidLoadResourceFromMemoryCache(
&cert_id, &cert_status,
&security_bits);
LoadFromMemoryCacheDetails details(url, frame_origin, main_frame_origin,
- cert_id, cert_status);
+ process()->pid(), cert_id, cert_status);
NotificationService::current()->Notify(
NotificationType::LOAD_FROM_MEMORY_CACHE,