| Index: components/guest_view/browser/guest_view_base.cc
|
| diff --git a/components/guest_view/browser/guest_view_base.cc b/components/guest_view/browser/guest_view_base.cc
|
| index 52b4d807cc776d80691cb49a979881a5c98bbfe5..3d203482564342460596f59af69374317cb12861 100644
|
| --- a/components/guest_view/browser/guest_view_base.cc
|
| +++ b/components/guest_view/browser/guest_view_base.cc
|
| @@ -600,13 +600,6 @@ void GuestViewBase::DidNavigateMainFrame(
|
| const content::FrameNavigateParams& params) {
|
| if (attached() && ZoomPropagatesFromEmbedderToGuest())
|
| SetGuestZoomLevelToMatchEmbedder();
|
| -
|
| - // TODO(lazyboy): This breaks guest visibility in --site-per-process because
|
| - // we do not take the widget's visibility into account. We need to also
|
| - // stay hidden during "visibility:none" state.
|
| - if (content::BrowserPluginGuestMode::UseCrossProcessFramesForGuests()) {
|
| - web_contents()->WasShown();
|
| - }
|
| }
|
|
|
| void GuestViewBase::ActivateContents(WebContents* web_contents) {
|
|
|