Index: mandoline/ui/omnibox/omnibox_application.cc |
diff --git a/mandoline/ui/omnibox/omnibox_application.cc b/mandoline/ui/omnibox/omnibox_application.cc |
index 257900521d8be20ce1504450c8b82d9d1c1f2321..ddbb5af80432dd79c8b3c1759a74eb09060ced57 100644 |
--- a/mandoline/ui/omnibox/omnibox_application.cc |
+++ b/mandoline/ui/omnibox/omnibox_application.cc |
@@ -117,8 +117,7 @@ void OmniboxImpl::OnEmbed(mus::View* root) { |
root_ = root; |
if (!aura_init_.get()) { |
- aura_init_.reset( |
- new views::AuraInit(root, app_->shell(), "mandoline_ui.pak")); |
+ aura_init_.reset(new views::AuraInit(app_, "mandoline_ui.pak", root_)); |
edit_ = new views::Textfield; |
edit_->set_controller(this); |
edit_->SetTextInputType(ui::TEXT_INPUT_TYPE_URL); |