Chromium Code Reviews| Index: examples/spinning_cube/spinning_cube_app.cc |
| diff --git a/examples/spinning_cube/spinning_cube_app.cc b/examples/spinning_cube/spinning_cube_app.cc |
| index f90f9d1c28f3353c9fd8d5b5cfc6b444365919c6..c8b477a07f4531cfe78949a28f608e94efd52c47 100644 |
| --- a/examples/spinning_cube/spinning_cube_app.cc |
| +++ b/examples/spinning_cube/spinning_cube_app.cc |
| @@ -77,7 +77,7 @@ class SpinningCubeApp : public mojo::ApplicationDelegate, |
| void SetEventDispatcher() { |
| mojo::NativeViewportEventDispatcherPtr ptr; |
| dispatcher_binding_.Bind(GetProxy(&ptr)); |
| - viewport_->SetEventDispatcher(ptr.Pass()); |
| + viewport_->SetEventDispatcher(ptr.PassInterfaceHandle()); |
|
viettrungluu
2016/02/10 01:04:08
So, this seems kind of dumb:
GetProxy() makes a m
vardhan
2016/02/11 22:47:53
Done.
|
| } |
| void OnViewportConnectionError() { mojo::RunLoop::current()->Quit(); } |