Skip to content

Commit

Permalink
Make sure we initializa ServiceContext in WindowTypeLauncher.
Browse files Browse the repository at this point in the history
BUG=NONE

Review-Url: https://codereview.chromium.org/2496683004
Cr-Commit-Position: refs/heads/master@{#431640}
  • Loading branch information
mfomitchev authored and Commit bot committed Nov 11, 2016
1 parent 4557e0a commit 14ce02b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mash/example/window_type_launcher/window_type_launcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ void WindowTypeLauncher::RemoveWindow(views::Widget* window) {
}

void WindowTypeLauncher::OnStart(service_manager::ServiceContext* context) {
context_ = context;
aura_init_ = base::MakeUnique<views::AuraInit>(
context->connector(), context->identity(), "views_mus_resources.pak",
std::string(), nullptr, views::AuraInit::Mode::AURA_MUS);
Expand Down

0 comments on commit 14ce02b

Please sign in to comment.