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

Unified Diff: ui/views/mus/native_widget_mus.cc

Issue 2098033002: Changes NativeWidgetMus to honor layer type from InitParms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/native_widget_mus.cc
diff --git a/ui/views/mus/native_widget_mus.cc b/ui/views/mus/native_widget_mus.cc
index 8c882176eaea533f57f34cf8d633eca373f21dc4..9bed4cca17d179f1dc34a82c230db8139edd6ec4 100644
--- a/ui/views/mus/native_widget_mus.cc
+++ b/ui/views/mus/native_widget_mus.cc
@@ -711,7 +711,7 @@ void NativeWidgetMus::InitNativeWidget(const Widget::InitParams& params) {
capture_client_.reset(new MusCaptureClient(hosted_window, content_, window_));
content_->SetType(ui::wm::WINDOW_TYPE_NORMAL);
- content_->Init(ui::LAYER_TEXTURED);
+ content_->Init(params.layer_type);
if (window_->visible())
content_->Show();
content_->SetTransparent(true);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698