Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index e91021b0f2cc28326342d446b8a032bc96911370..a7254f82cf1954e4841113cd7d203798305245b5 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -4719,6 +4719,9 @@ |
for (const auto& child : children_) |
child->SetParentVisible(visible); |
+ |
+ for (const auto& plugin : plugins_) |
+ plugin->SetParentVisible(visible); |
} |
void FrameView::Show() { |
@@ -4739,6 +4742,9 @@ |
if (IsParentVisible()) { |
for (const auto& child : children_) |
child->SetParentVisible(true); |
+ |
+ for (const auto& plugin : plugins_) |
+ plugin->SetParentVisible(true); |
} |
} |
@@ -4750,6 +4756,9 @@ |
if (IsParentVisible()) { |
for (const auto& child : children_) |
child->SetParentVisible(false); |
+ |
+ for (const auto& plugin : plugins_) |
+ plugin->SetParentVisible(false); |
} |
SetSelfVisible(false); |
if (ScrollingCoordinator* scrolling_coordinator = |