Commit 0f7e7db0 authored by David Bienvenu's avatar David Bienvenu Committed by Commit Bot

Don't change compositor visibility when minimizing/restoring a windows window.

This broke chrome cast mirroring from a minimized browser window.

This changed in https://chromium-review.googlesource.com/c/1326621

Bug: 930429
Change-Id: I0e212da02b66eed3f4b6d64c0d37fb61f1a6e840
Reviewed-on: https://chromium-review.googlesource.com/c/1468762Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: David Bienvenu <davidbienvenu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632387}
parent 1bafded6
...@@ -874,9 +874,6 @@ void DesktopWindowTreeHostWin::HandleWindowMinimizedOrRestored(bool restored) { ...@@ -874,9 +874,6 @@ void DesktopWindowTreeHostWin::HandleWindowMinimizedOrRestored(bool restored) {
window()->Show(); window()->Show();
else else
window()->Hide(); window()->Hide();
if (compositor())
compositor()->SetVisible(restored);
} }
void DesktopWindowTreeHostWin::HandleClientSizeChanged( void DesktopWindowTreeHostWin::HandleClientSizeChanged(
......
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