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

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

Issue 1647483002: views/mus: WindowTreeHostMus doesn't need to know about SurfaceType. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit 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 | « no previous file | ui/views/mus/window_tree_host_mus.h » ('j') | 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 228f3a74568008eefa12d5894a0d5886ffbf8072..de7043f5f3db8e14e71a7868455c9b1e1fa75564 100644
--- a/ui/views/mus/native_widget_mus.cc
+++ b/ui/views/mus/native_widget_mus.cc
@@ -307,8 +307,7 @@ void NativeWidgetMus::InitNativeWidget(const Widget::InitParams& params) {
}
aura::Env::GetInstance()->set_context_factory(context_factory_.get());
}
- window_tree_host_.reset(
- new WindowTreeHostMus(shell_, this, window_, surface_type_));
+ window_tree_host_.reset(new WindowTreeHostMus(shell_, this, window_));
window_tree_host_->AddObserver(this);
window_tree_host_->InitHost();
aura::Env::GetInstance()->set_context_factory(default_context_factory);
« no previous file with comments | « no previous file | ui/views/mus/window_tree_host_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698