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

Unified Diff: mash/webtest/webtest.cc

Issue 2471033005: Adds DesktopWindowTreeHostMus (Closed)
Patch Set: fix Created 4 years, 1 month 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
Index: mash/webtest/webtest.cc
diff --git a/mash/webtest/webtest.cc b/mash/webtest/webtest.cc
index 59e2bf81020d220b9e11da2e59643b4919cac106..0dc01217ea4faf63e94214b97635ca2b6d03acab 100644
--- a/mash/webtest/webtest.cc
+++ b/mash/webtest/webtest.cc
@@ -159,8 +159,8 @@ void Webtest::RemoveWindow(views::Widget* window) {
void Webtest::OnStart(const service_manager::ServiceInfo& info) {
tracing_.Initialize(connector(), info.identity.name());
- aura_init_.reset(
- new views::AuraInit(connector(), "views_mus_resources.pak"));
+ aura_init_ = base::MakeUnique<views::AuraInit>(connector(), info.identity,
+ "views_mus_resources.pak");
window_manager_connection_ =
views::WindowManagerConnection::Create(connector(), info.identity);
}

Powered by Google App Engine
This is Rietveld 408576698