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

Unified Diff: sky/viewer/internals.cc

Issue 1118843003: Remove some InterfacePtr<> methods which directly deal with message pipe handles. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 months 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
« sky/engine/core/html/HTMLIFrameElement.cpp ('K') | « sky/viewer/document_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/internals.cc
diff --git a/sky/viewer/internals.cc b/sky/viewer/internals.cc
index cda73c1254c19512738a842328fea69f6915444e..1a322669e01e9219b640378a3df4428520de1994 100644
--- a/sky/viewer/internals.cc
+++ b/sky/viewer/internals.cc
@@ -172,7 +172,7 @@ mojo::Handle Internals::TakeShellProxyHandle() {
mojo::ShellPtr shell;
if (!shell_binding_.is_bound())
shell_binding_.Bind(GetProxy(&shell));
- return shell.PassMessagePipe().release();
+ return shell.PassInterface().PassHandle().release();
}
void Internals::ConnectToApplication(
« sky/engine/core/html/HTMLIFrameElement.cpp ('K') | « sky/viewer/document_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698