| 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 2ff94ac37f16f8939cd73122f5e6c8c4b4880516..b9fa2a922e212fb59bca6dd431f1dd4707deea70 100644
|
| --- a/chrome/browser/ui/webui/omnibox/omnibox_ui.cc
|
| +++ b/chrome/browser/ui/webui/omnibox/omnibox_ui.cc
|
| @@ -29,8 +29,7 @@ OmniboxUI::OmniboxUI(content::WebUI* web_ui) : MojoWebUIController(web_ui) {
|
| OmniboxUI::~OmniboxUI() {}
|
|
|
| scoped_ptr<MojoWebUIHandler> OmniboxUI::CreateUIHandler(
|
| - mojo::ScopedMessagePipeHandle handle_to_page) {
|
| - return scoped_ptr<MojoWebUIHandler>(
|
| - mojo::BindToPipe(new OmniboxUIHandler(Profile::FromWebUI(web_ui())),
|
| - handle_to_page.Pass()));
|
| + mojo::InterfaceRequest<OmniboxUIHandlerMojo> request) {
|
| + return scoped_ptr<MojoWebUIHandler>(mojo::BindToRequest(
|
| + new OmniboxUIHandler(Profile::FromWebUI(web_ui())), &request));
|
| }
|
|
|