diff options
Diffstat (limited to 'base/message_pump_glib_unittest.cc')
-rw-r--r-- | base/message_pump_glib_unittest.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/base/message_pump_glib_unittest.cc b/base/message_pump_glib_unittest.cc index e3a04e8..d742055 100644 --- a/base/message_pump_glib_unittest.cc +++ b/base/message_pump_glib_unittest.cc @@ -330,6 +330,10 @@ class ConcurrentHelper : public base::RefCounted<ConcurrentHelper> { int task_count() const { return task_count_; } private: + friend class base::RefCounted<ConcurrentHelper>; + + ~ConcurrentHelper() {} + static const int kStartingEventCount = 20; static const int kStartingTaskCount = 20; @@ -455,6 +459,10 @@ class GLibLoopRunner : public base::RefCounted<GLibLoopRunner> { } private: + friend class base::RefCounted<GLibLoopRunner>; + + ~GLibLoopRunner() {} + bool quit_; }; |