Index: ui/keyboard/webui/vk_webui_controller.cc |
diff --git a/ui/keyboard/webui/vk_webui_controller.cc b/ui/keyboard/webui/vk_webui_controller.cc |
index 2e0138ba0b7814eb9185f1f167d2ab6b4d6a63da..5fd04ce85dba6f0e66dcd93b6be2643a565e085b 100644 |
--- a/ui/keyboard/webui/vk_webui_controller.cc |
+++ b/ui/keyboard/webui/vk_webui_controller.cc |
@@ -68,8 +68,7 @@ void VKWebUIController::RenderViewCreated(content::RenderViewHost* host) { |
void VKWebUIController::CreateAndStoreUIHandler( |
mojo::InterfaceRequest<KeyboardUIHandlerMojo> request) { |
- ui_handler_ = scoped_ptr<VKMojoHandler>( |
- mojo::WeakBindToRequest(new VKMojoHandler(), &request)); |
+ ui_handler_ = make_scoped_ptr(new VKMojoHandler(request.Pass())); |
} |
//////////////////////////////////////////////////////////////////////////////// |