Index: mojo/shell/public/cpp/interface_factory_impl.h |
diff --git a/mojo/shell/public/cpp/interface_factory_impl.h b/mojo/shell/public/cpp/interface_factory_impl.h |
index 7de2449b1e2610644c691e58b1d1cb81818e5b18..f84992227b1e8532bbde7bf40acc0e981147354b 100644 |
--- a/mojo/shell/public/cpp/interface_factory_impl.h |
+++ b/mojo/shell/public/cpp/interface_factory_impl.h |
@@ -17,7 +17,7 @@ class InterfaceFactoryImpl : public InterfaceFactory<Interface> { |
public: |
virtual ~InterfaceFactoryImpl() {} |
- virtual void Create(ApplicationConnection* connection, |
+ virtual void Create(Connection* connection, |
InterfaceRequest<Interface> request) override { |
BindToRequest(new Impl(), &request); |
} |
@@ -35,7 +35,7 @@ class InterfaceFactoryImplWithContext : public InterfaceFactory<Interface> { |
: context_(context) {} |
virtual ~InterfaceFactoryImplWithContext() {} |
- virtual void Create(ApplicationConnection* connection, |
+ virtual void Create(Connection* connection, |
InterfaceRequest<Interface> request) override { |
BindToRequest(new Impl(context_), &request); |
} |