Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: mojo/public/cpp/bindings/lib/multiplex_router.cc

Issue 2788543002: Make mojo::internal::MultiplexRouter::InterfaceEndPoint RefCountedThreadSafe (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698