| Index: mojo/public/cpp/bindings/lib/multiplex_router.cc
|
| diff --git a/mojo/public/cpp/bindings/lib/multiplex_router.cc b/mojo/public/cpp/bindings/lib/multiplex_router.cc
|
| index 85cd48d1c4dfd8e88db588da409ca5e45dd886a4..ff7c678289175ea8f920f5f02186d4c215da1f1a 100644
|
| --- a/mojo/public/cpp/bindings/lib/multiplex_router.cc
|
| +++ b/mojo/public/cpp/bindings/lib/multiplex_router.cc
|
| @@ -29,7 +29,7 @@ namespace internal {
|
| // No one other than the router's |endpoints_| and |tasks_| should hold refs to
|
| // this object.
|
| class MultiplexRouter::InterfaceEndpoint
|
| - : public base::RefCounted<InterfaceEndpoint>,
|
| + : public base::RefCountedThreadSafe<InterfaceEndpoint>,
|
| public InterfaceEndpointController {
|
| public:
|
| InterfaceEndpoint(MultiplexRouter* router, InterfaceId id)
|
| @@ -150,7 +150,7 @@ class MultiplexRouter::InterfaceEndpoint
|
| }
|
|
|
| private:
|
| - friend class base::RefCounted<InterfaceEndpoint>;
|
| + friend class base::RefCountedThreadSafe<InterfaceEndpoint>;
|
|
|
| ~InterfaceEndpoint() override {
|
| router_->AssertLockAcquired();
|
|
|