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

Unified Diff: mojo/edk/system/ref_counted.h

Issue 1396783004: Convert mojo::system::ChannelEndpointClient to use our new refcounting stuff (instead of base's). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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
Index: mojo/edk/system/ref_counted.h
diff --git a/mojo/edk/system/ref_counted.h b/mojo/edk/system/ref_counted.h
index d24d471861804a25e6efe8e202aa38a64c0bac62..fad0bc6d059280de8b780812a3cb15a373ca745e 100644
--- a/mojo/edk/system/ref_counted.h
+++ b/mojo/edk/system/ref_counted.h
@@ -75,13 +75,13 @@ class RefCountedThreadSafe : public internal::RefCountedThreadSafeBase {
RefCountedThreadSafe() {}
~RefCountedThreadSafe() {}
+ private:
#ifndef NDEBUG
template <typename U>
friend RefPtr<U> AdoptRef(U*);
void Adopt() { internal::RefCountedThreadSafeBase::Adopt(); }
#endif
- private:
MOJO_DISALLOW_COPY_AND_ASSIGN(RefCountedThreadSafe);
};
« no previous file with comments | « mojo/edk/system/multiprocess_message_pipe_unittest.cc ('k') | mojo/edk/system/remote_data_pipe_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698