| Index: examples/ui/shapes/shapes_app.cc
|
| diff --git a/examples/ui/shapes/shapes_app.cc b/examples/ui/shapes/shapes_app.cc
|
| index 86443a1a0c37e0eb3f10669fc048b7df278b1176..917c2741f2027857119b4b72e86774eee93592d9 100644
|
| --- a/examples/ui/shapes/shapes_app.cc
|
| +++ b/examples/ui/shapes/shapes_app.cc
|
| @@ -12,13 +12,12 @@ ShapesApp::ShapesApp() {}
|
|
|
| ShapesApp::~ShapesApp() {}
|
|
|
| -bool ShapesApp::CreateView(
|
| +void ShapesApp::CreateView(
|
| const std::string& connection_url,
|
| + mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request,
|
| mojo::InterfaceRequest<mojo::ServiceProvider> services,
|
| - mojo::ServiceProviderPtr exposed_services,
|
| - const mojo::ui::ViewProvider::CreateViewCallback& callback) {
|
| - new ShapesView(app_impl(), callback);
|
| - return true;
|
| + mojo::ServiceProviderPtr exposed_services) {
|
| + new ShapesView(app_impl(), view_owner_request.Pass());
|
| }
|
|
|
| } // namespace examples
|
|
|