Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: components/mus/ws/server_window_surface_manager.cc

Issue 1641003002: [exp] ash: Ash in Mus. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot-merge Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate_views.cc ('k') | components/mus/ws/window_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
}
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate_views.cc ('k') | components/mus/ws/window_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698