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

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

Issue 78303005: ContentSettings API should not interact with <webview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small cleanup/refactor Created 7 years, 1 month 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
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 105c7e04033a23931ad0f490840e23220d5e5555..ea0ca559bd4c30cdfbad7c9fea8d108dbc7bda9e 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc
@@ -744,7 +744,8 @@ void TabSpecificContentSettings::Observe(
RendererContentSettingRules rules;
GetRendererContentSettingRules(profile->GetHostContentSettingsMap(),
&rules);
- Send(new ChromeViewMsg_SetContentSettingRules(rules));
+ Send(new ChromeViewMsg_SetContentSettingRules(
+ web_contents()->GetRoutingID(), rules));
}
}

Powered by Google App Engine
This is Rietveld 408576698