Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Unified Diff: ui/keyboard/webui/vk_webui_controller.cc

Issue 728043002: Revert of Update mojo sdk to rev afb4440fd5a10cba980878c326180b7ad7960480 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/keyboard/webui/vk_mojo_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5fd04ce85dba6f0e66dcd93b6be2643a565e085b..2e0138ba0b7814eb9185f1f167d2ab6b4d6a63da 100644
--- a/ui/keyboard/webui/vk_webui_controller.cc
+++ b/ui/keyboard/webui/vk_webui_controller.cc
@@ -68,7 +68,8 @@
void VKWebUIController::CreateAndStoreUIHandler(
mojo::InterfaceRequest<KeyboardUIHandlerMojo> request) {
- ui_handler_ = make_scoped_ptr(new VKMojoHandler(request.Pass()));
+ ui_handler_ = scoped_ptr<VKMojoHandler>(
+ mojo::WeakBindToRequest(new VKMojoHandler(), &request));
}
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « ui/keyboard/webui/vk_mojo_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698