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

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

Issue 2536423003: Fix issue with location tracking icon disappearing on M55 (Closed)
Patch Set: Fix issue with location tracking icon disappearing on M55 Created 4 years 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 fd04a18f5d13357cf60ebe586d5c2fabb88451c8..34a8ffa94aad81dd8c1b2d978839066ab21824eb 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc
@@ -800,8 +800,10 @@ bool TabSpecificContentSettings::OnMessageReceived(
void TabSpecificContentSettings::DidStartNavigation(
content::NavigationHandle* navigation_handle) {
- if (!navigation_handle->IsInMainFrame() || navigation_handle->IsSamePage())
+ if (!navigation_handle->IsInMainFrame() || navigation_handle->IsSamePage() ||
+ navigation_handle->IsSynchronousNavigation()) {
return;
+ }
const content::NavigationController& controller =
web_contents()->GetController();
« 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