| Index: chrome/browser/ui/webui/omnibox/omnibox_ui.cc
|
| diff --git a/chrome/browser/ui/webui/omnibox/omnibox_ui.cc b/chrome/browser/ui/webui/omnibox/omnibox_ui.cc
|
| index b288fc34e0d39d1d9370f25e5dbba1d7daf74e78..2ff94ac37f16f8939cd73122f5e6c8c4b4880516 100644
|
| --- a/chrome/browser/ui/webui/omnibox/omnibox_ui.cc
|
| +++ b/chrome/browser/ui/webui/omnibox/omnibox_ui.cc
|
| @@ -31,7 +31,6 @@ OmniboxUI::~OmniboxUI() {}
|
| scoped_ptr<MojoWebUIHandler> OmniboxUI::CreateUIHandler(
|
| mojo::ScopedMessagePipeHandle handle_to_page) {
|
| return scoped_ptr<MojoWebUIHandler>(
|
| - new OmniboxUIHandler(
|
| - ScopedOmniboxPageHandle::From(handle_to_page.Pass()).Pass(),
|
| - Profile::FromWebUI(web_ui())));
|
| + mojo::BindToPipe(new OmniboxUIHandler(Profile::FromWebUI(web_ui())),
|
| + handle_to_page.Pass()));
|
| }
|
|
|