Index: mojo/public/cpp/application/application_impl.h |
diff --git a/mojo/public/cpp/application/application_impl.h b/mojo/public/cpp/application/application_impl.h |
index e4d53c4ef35033a63ec20af1a3e27ee0d7646d75..809c3725bb7ccc8d972180129b99ca270dd22bce 100644 |
--- a/mojo/public/cpp/application/application_impl.h |
+++ b/mojo/public/cpp/application/application_impl.h |
@@ -70,15 +70,7 @@ class ApplicationImpl : public InterfaceImpl<Application> { |
} |
private: |
- class ShellPtrWatcher : public ErrorHandler { |
- public: |
- explicit ShellPtrWatcher(ApplicationImpl* impl); |
- virtual ~ShellPtrWatcher(); |
- virtual void OnConnectionError() MOJO_OVERRIDE; |
- private: |
- ApplicationImpl* impl_; |
- MOJO_DISALLOW_COPY_AND_ASSIGN(ShellPtrWatcher); |
- }; |
+ class ShellPtrWatcher; |
void BindShell(ScopedMessagePipeHandle shell_handle); |
void ClearConnections(); |
@@ -99,7 +91,7 @@ class ApplicationImpl : public InterfaceImpl<Application> { |
ServiceRegistryList outgoing_service_registries_; |
ApplicationDelegate* delegate_; |
ShellPtr shell_; |
- ShellPtrWatcher shell_watch_; |
+ ShellPtrWatcher* shell_watch_; |
MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationImpl); |
}; |