Commit e6454017 authored by Christopher Cameron's avatar Christopher Cameron Committed by Commit Bot

viz/mac: Update SetShowPrimarySurface after navigation

After navigation, the surface id changes, but no call is made to
SetShowPrimarySurface, to tell the ui::Compositor to draw this
surface. Add a call to DelegatedFrameHost::WasResized to cause
this to happen.

Bug: 772576
Change-Id: I33e1fd509e3666f07a4f9a86aa600dc54adac733
Reviewed-on: https://chromium-review.googlesource.com/894197
Commit-Queue: ccameron <ccameron@chromium.org>
Reviewed-by: default avatarSaman Sami <samans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533847}
parent f4cf63ed
......@@ -575,6 +575,7 @@ void BrowserCompositorMac::DidNavigate() {
delegated_frame_host_surface_id_ =
parent_local_surface_id_allocator_.GenerateId();
delegated_frame_host_->DidNavigate();
delegated_frame_host_->WasResized(cc::DeadlinePolicy::UseExistingDeadline());
}
void BrowserCompositorMac::DidReceiveFirstFrameAfterNavigation() {
......
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