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 9b653b3d74fb3595f4d86b0e3adb7d1c47e1943f..fd04a18f5d13357cf60ebe586d5c2fabb88451c8 100644 |
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc |
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc |
@@ -800,7 +800,7 @@ bool TabSpecificContentSettings::OnMessageReceived( |
void TabSpecificContentSettings::DidStartNavigation( |
content::NavigationHandle* navigation_handle) { |
- if (!navigation_handle->IsInMainFrame()) |
+ if (!navigation_handle->IsInMainFrame() || navigation_handle->IsSamePage()) |
return; |
const content::NavigationController& controller = |