Skip to content

Commit

Permalink
RenderWidgetHost::WasResized() => SynchronizeVisualProperties()
Browse files Browse the repository at this point in the history
  • Loading branch information
hferreiro authored and darkdh committed Aug 3, 2018
1 parent 38e2629 commit e800238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions atom/browser/common_web_contents_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ void CommonWebContentsDelegate::EnterFullscreenModeForTab(
return;
SetHtmlApiFullscreen(true);
owner_window_->NotifyWindowEnterHtmlFullScreen();
source->GetRenderViewHost()->GetWidget()->WasResized();
source->GetRenderViewHost()->GetWidget()->SynchronizeVisualProperties();
}

void CommonWebContentsDelegate::ExitFullscreenModeForTab(
Expand All @@ -293,7 +293,7 @@ void CommonWebContentsDelegate::ExitFullscreenModeForTab(
SetHtmlApiFullscreen(false);
owner_window_->NotifyWindowLeaveHtmlFullScreen();
if (source)
source->GetRenderViewHost()->GetWidget()->WasResized();
source->GetRenderViewHost()->GetWidget()->SynchronizeVisualProperties();
}

bool CommonWebContentsDelegate::IsFullscreenForTabOrPending(
Expand Down

0 comments on commit e800238

Please sign in to comment.