Index: services/shell/public/cpp/connection.h |
diff --git a/services/shell/public/cpp/connection.h b/services/shell/public/cpp/connection.h |
index bcab49e19f4d2589bccaea4a064e2ec4a9ce1d50..4fa211ea608f20977f49127f7da6ee822f9e8f32 100644 |
--- a/services/shell/public/cpp/connection.h |
+++ b/services/shell/public/cpp/connection.h |
@@ -144,7 +144,6 @@ class Connection { |
// Returns a raw pointer to the InterfaceProvider at the remote end. |
virtual mojom::InterfaceProvider* GetRemoteInterfaceProvider() = 0; |
- protected: |
// Returns the InterfaceRegistry that implements the mojom::InterfaceProvider |
// exposed to the remote application. |
virtual InterfaceRegistry* GetInterfaceRegistry() = 0; |
@@ -152,6 +151,7 @@ class Connection { |
// Returns an object encapsulating a remote InterfaceProvider. |
virtual InterfaceProvider* GetRemoteInterfaces() = 0; |
+ protected: |
virtual base::WeakPtr<Connection> GetWeakPtr() = 0; |
}; |