| Index: components/mus/ws/server_window_surface_manager.cc
|
| diff --git a/components/mus/ws/server_window_surface_manager.cc b/components/mus/ws/server_window_surface_manager.cc
|
| index 1699de41bc8006f97d94066f349ca176f0927731..e14de86b09287417e7915112d267b2ec9fc24120 100644
|
| --- a/components/mus/ws/server_window_surface_manager.cc
|
| +++ b/components/mus/ws/server_window_surface_manager.cc
|
| @@ -24,9 +24,10 @@ bool ServerWindowSurfaceManager::ShouldDraw() {
|
| if (!waiting_for_initial_frames_)
|
| return true;
|
|
|
| + // XXX(sad): We don't have an underlay right now.
|
| waiting_for_initial_frames_ =
|
| - !IsSurfaceReadyAndNonEmpty(mojom::SurfaceType::DEFAULT) ||
|
| - !IsSurfaceReadyAndNonEmpty(mojom::SurfaceType::UNDERLAY);
|
| + !IsSurfaceReadyAndNonEmpty(mojom::SurfaceType::DEFAULT) /* &&
|
| + !IsSurfaceReadyAndNonEmpty(mojom::SurfaceType::UNDERLAY) */;
|
| return !waiting_for_initial_frames_;
|
| }
|
|
|
|
|