Commit e96ed97e authored by Illia Klimov's avatar Illia Klimov Committed by Chromium LUCI CQ

Reduce PLUGINS call sites.

Bug: 1149393
Change-Id: I185c8e76078af0137d9d82b1dbbb78b67928cd32
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2564762Reviewed-by: default avatarTommy Li <tommycli@chromium.org>
Commit-Queue: Illia Klimov <elklm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#831933}
parent 13a7e9c4
...@@ -354,12 +354,6 @@ void ChromePluginPlaceholder::OnBlockedContent( ...@@ -354,12 +354,6 @@ void ChromePluginPlaceholder::OnBlockedContent(
bool is_same_origin) { bool is_same_origin) {
DCHECK(render_frame()); DCHECK(render_frame());
if (status ==
content::RenderFrame::PeripheralContentStatus::CONTENT_STATUS_TINY) {
content_settings::ContentSettingsAgentImpl::Get(render_frame())
->DidBlockContentType(ContentSettingsType::PLUGINS);
}
std::string message = base::StringPrintf( std::string message = base::StringPrintf(
is_same_origin ? "Same-origin plugin content from %s must have a visible " is_same_origin ? "Same-origin plugin content from %s must have a visible "
"size larger than 6 x 6 pixels, or it will be blocked. " "size larger than 6 x 6 pixels, or it will be blocked. "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment