| Index: examples/ui/spinning_cube/spinning_cube_view.cc
|
| diff --git a/examples/ui/spinning_cube/spinning_cube_view.cc b/examples/ui/spinning_cube/spinning_cube_view.cc
|
| index 68fb4f637995d3b5873efc29fcf5ee7cc758ad4b..294d328d5af015ec9964ab503ad3924b05ef094f 100644
|
| --- a/examples/ui/spinning_cube/spinning_cube_view.cc
|
| +++ b/examples/ui/spinning_cube/spinning_cube_view.cc
|
| @@ -54,8 +54,8 @@ int GetEventDirection(const mojo::PointF& current,
|
|
|
| SpinningCubeView::SpinningCubeView(
|
| mojo::ApplicationImpl* app_impl,
|
| - const mojo::ui::ViewProvider::CreateViewCallback& create_view_callback)
|
| - : GLView(app_impl, "SpinningCube", create_view_callback),
|
| + mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request)
|
| + : GLView(app_impl, view_owner_request.Pass(), "SpinningCube"),
|
| choreographer_(scene(), this),
|
| input_handler_(view_service_provider(), this),
|
| weak_ptr_factory_(this) {
|
|
|