diff options
Diffstat (limited to 'base/threading/thread_unittest.cc')
-rw-r--r-- | base/threading/thread_unittest.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/base/threading/thread_unittest.cc b/base/threading/thread_unittest.cc index 28696d9..5945e32 100644 --- a/base/threading/thread_unittest.cc +++ b/base/threading/thread_unittest.cc @@ -88,7 +88,8 @@ class CaptureToEventList : public Thread { // Observer that writes a value into |event_list| when a message loop has been // destroyed. -class CapturingDestructionObserver : public MessageLoop::DestructionObserver { +class CapturingDestructionObserver + : public base::MessageLoop::DestructionObserver { public: // |event_list| must remain valid throughout the observer's lifetime. explicit CapturingDestructionObserver(EventList* event_list) @@ -106,8 +107,9 @@ class CapturingDestructionObserver : public MessageLoop::DestructionObserver { }; // Task that adds a destruction observer to the current message loop. -void RegisterDestructionObserver(MessageLoop::DestructionObserver* observer) { - MessageLoop::current()->AddDestructionObserver(observer); +void RegisterDestructionObserver( + base::MessageLoop::DestructionObserver* observer) { + base::MessageLoop::current()->AddDestructionObserver(observer); } } // namespace |