Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1827)

Unified Diff: chrome/browser/content_settings/tab_specific_content_settings.cc

Issue 25084003: Make sure we clear registerProtocolHandler settings on page navigation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/content_settings/tab_specific_content_settings.cc
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.cc b/chrome/browser/content_settings/tab_specific_content_settings.cc
index af49c3cbbca03329bf8fe4430d8db3a391b4036b..9c019ba621b186a202699845ae765268684488c0 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc
@@ -709,6 +709,7 @@ void TabSpecificContentSettings::DidStartProvisionalLoadForFrame(
ClearCookieSpecificContentSettings();
ClearGeolocationContentSettings();
ClearMIDIContentSettings();
+ ClearPendingProtocolHandler();
}
void TabSpecificContentSettings::AppCacheAccessed(const GURL& manifest_url,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698