| Index: examples/surfaces_app/child_app.cc
|
| diff --git a/examples/surfaces_app/child_app.cc b/examples/surfaces_app/child_app.cc
|
| index f154536f0f89dc2257a0daeb6374a9793f6e64a9..03446105e2e588955f9eab65c79090811cf694e2 100644
|
| --- a/examples/surfaces_app/child_app.cc
|
| +++ b/examples/surfaces_app/child_app.cc
|
| @@ -17,23 +17,22 @@ namespace examples {
|
| class ChildApp : public ApplicationDelegate, public InterfaceFactory<Child> {
|
| public:
|
| ChildApp() {}
|
| - virtual ~ChildApp() {}
|
| + ~ChildApp() override {}
|
|
|
| - virtual void Initialize(ApplicationImpl* app) override {
|
| + void Initialize(ApplicationImpl* app) override {
|
| surfaces_service_connection_ =
|
| app->ConnectToApplication("mojo:surfaces_service");
|
| }
|
|
|
| // ApplicationDelegate implementation.
|
| - virtual bool ConfigureIncomingConnection(
|
| - ApplicationConnection* connection) override {
|
| + bool ConfigureIncomingConnection(ApplicationConnection* connection) override {
|
| connection->AddService(this);
|
| return true;
|
| }
|
|
|
| // InterfaceFactory<Child> implementation.
|
| - virtual void Create(ApplicationConnection* connection,
|
| - InterfaceRequest<Child> request) override {
|
| + void Create(ApplicationConnection* connection,
|
| + InterfaceRequest<Child> request) override {
|
| new ChildImpl(surfaces_service_connection_, request.Pass());
|
| }
|
|
|
|
|