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

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: Fixed nits + Added missing file 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 123bacb48ec9b8ab8bfe92c96ec34fd468ce308d..b7b6074dfbabdd059e8bff4731a35e5d0f08337c 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc
@@ -764,7 +764,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