| Index: mojo/edk/system/endpoint_relayer.h
|
| diff --git a/mojo/edk/system/endpoint_relayer.h b/mojo/edk/system/endpoint_relayer.h
|
| index f41de9680cd10739429eabebd04661539ca64de7..036eaa3a50594f6742ca762f16756ae958a48e59 100644
|
| --- a/mojo/edk/system/endpoint_relayer.h
|
| +++ b/mojo/edk/system/endpoint_relayer.h
|
| @@ -9,7 +9,7 @@
|
|
|
| #include "mojo/edk/system/channel_endpoint_client.h"
|
| #include "mojo/edk/system/mutex.h"
|
| -#include "mojo/edk/system/ref_ptr.h"
|
| +#include "mojo/edk/util/ref_ptr.h"
|
| #include "mojo/public/cpp/system/macros.h"
|
|
|
| namespace mojo {
|
| @@ -61,14 +61,14 @@ class EndpointRelayer final : public ChannelEndpointClient {
|
| MOJO_DISALLOW_COPY_AND_ASSIGN(Filter);
|
| };
|
|
|
| - // Note: Use |MakeRefCounted<EndpointRelayer>()|.
|
| + // Note: Use |util::MakeRefCounted<EndpointRelayer>()|.
|
|
|
| // Gets the other port number (i.e., 0 -> 1, 1 -> 0).
|
| static unsigned GetPeerPort(unsigned port);
|
|
|
| // Initialize this object. This must be called before any other method.
|
| - void Init(RefPtr<ChannelEndpoint>&& endpoint0,
|
| - RefPtr<ChannelEndpoint>&& endpoint1) MOJO_NOT_THREAD_SAFE;
|
| + void Init(util::RefPtr<ChannelEndpoint>&& endpoint0,
|
| + util::RefPtr<ChannelEndpoint>&& endpoint1) MOJO_NOT_THREAD_SAFE;
|
|
|
| // Sets (or resets) the filter, which can (optionally) handle/filter
|
| // |Type::ENDPOINT_CLIENT| messages (see |Filter| above).
|
| @@ -85,7 +85,7 @@ class EndpointRelayer final : public ChannelEndpointClient {
|
| ~EndpointRelayer() override;
|
|
|
| Mutex mutex_;
|
| - RefPtr<ChannelEndpoint> endpoints_[2] MOJO_GUARDED_BY(mutex_);
|
| + util::RefPtr<ChannelEndpoint> endpoints_[2] MOJO_GUARDED_BY(mutex_);
|
| std::unique_ptr<Filter> filter_ MOJO_GUARDED_BY(mutex_);
|
|
|
| MOJO_DISALLOW_COPY_AND_ASSIGN(EndpointRelayer);
|
|
|