Dont show the reload interstitial when muting a website

Bug: 776318
Change-Id: I00307ea4f9cf44c71f21a1311e35b5b6a9ea167d
Reviewed-on: https://chromium-review.googlesource.com/731268
Reviewed-by: Mounir Lamouri <[email protected]>
Reviewed-by: Lucas Garron <[email protected]>
Commit-Queue: Tommy Steimel <[email protected]>
Cr-Commit-Position: refs/heads/master@{#513281}
diff --git a/chrome/browser/ui/page_info/page_info.cc b/chrome/browser/ui/page_info/page_info.cc
index 861c923..a993285 100644
--- a/chrome/browser/ui/page_info/page_info.cc
+++ b/chrome/browser/ui/page_info/page_info.cc
@@ -431,7 +431,9 @@
   content_settings_->SetNarrowestContentSetting(site_url_, site_url_, type,
                                                 setting);
 
-  show_info_bar_ = true;
+  // When the sound setting is changed, no reload is necessary.
+  if (type != CONTENT_SETTINGS_TYPE_SOUND)
+    show_info_bar_ = true;
 
   // Refresh the UI to reflect the new setting.
   PresentSitePermissions();