diff options
author | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-24 09:11:27 +0000 |
---|---|---|
committer | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-24 09:11:27 +0000 |
commit | f0eaf30d0ff66304e858f2e4659c6b5825ef721f (patch) | |
tree | eab99a309614a1fc149b39903a9a7e419604d870 /chrome/renderer/content_settings_observer.cc | |
parent | 1085f98c50957def29f581fa53581ae4450a6c3c (diff) | |
download | chromium_src-f0eaf30d0ff66304e858f2e4659c6b5825ef721f.zip chromium_src-f0eaf30d0ff66304e858f2e4659c6b5825ef721f.tar.gz chromium_src-f0eaf30d0ff66304e858f2e4659c6b5825ef721f.tar.bz2 |
Reset |plugins_temporarily_allowed_| flag in ContentSettingsObserver when navigating to a new page.
BUG=85307
TEST=See bug.
Review URL: http://codereview.chromium.org/7215013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90349 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/content_settings_observer.cc')
-rw-r--r-- | chrome/renderer/content_settings_observer.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/renderer/content_settings_observer.cc b/chrome/renderer/content_settings_observer.cc index 1f9de9e..42ebb07 100644 --- a/chrome/renderer/content_settings_observer.cc +++ b/chrome/renderer/content_settings_observer.cc @@ -118,6 +118,7 @@ void ContentSettingsObserver::DidCommitProvisionalLoad( // so that these functions can correctly detect that a piece of content // flipped from "not blocked" to "blocked". ClearBlockedContentSettings(); + plugins_temporarily_allowed_ = false; GURL url = frame->url(); |