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

Unified Diff: ash/mus/top_level_window_factory.cc

Issue 2582823002: WIP: Surface Synchronization System
Patch Set: Only create ClientSurfaceEmbedder if window is visible. Trash it otherwise. Created 3 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 | « no previous file | cc/ipc/cc_param_traits_unittest.cc » ('j') | ui/aura/mus/window_tree_client.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/top_level_window_factory.cc
diff --git a/ash/mus/top_level_window_factory.cc b/ash/mus/top_level_window_factory.cc
index f3260d0d3482cc0cd3c78df6bd64c6f1a7ac2f03..fc11326afe1981ca8cf851273f0f5d2d01c2495a 100644
--- a/ash/mus/top_level_window_factory.cc
+++ b/ash/mus/top_level_window_factory.cc
@@ -144,7 +144,7 @@ aura::Window* CreateAndParentTopLevelWindowInRoot(
property_converter->SetPropertyFromTransportValue(
window, property_pair.first, &property_pair.second);
}
- window->Init(ui::LAYER_TEXTURED);
+ window->Init(ui::LAYER_SURFACE);
window->SetBounds(bounds);
if (container_window) {
« no previous file with comments | « no previous file | cc/ipc/cc_param_traits_unittest.cc » ('j') | ui/aura/mus/window_tree_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698