Index: content/browser/browser_thread_unittest.cc |
=================================================================== |
--- content/browser/browser_thread_unittest.cc (revision 191102) |
+++ content/browser/browser_thread_unittest.cc (working copy) |
@@ -59,21 +59,6 @@ |
MessageLoop* message_loop_; |
}; |
- class NeverDeleted |
- : public base::RefCountedThreadSafe< |
- NeverDeleted, BrowserThread::DeleteOnWebKitThread> { |
- public: |
- |
- private: |
- friend struct BrowserThread::DeleteOnThread< |
- BrowserThread::WEBKIT_DEPRECATED>; |
- friend class base::DeleteHelper<NeverDeleted>; |
- |
- ~NeverDeleted() { |
- CHECK(false); |
- } |
- }; |
- |
private: |
scoped_ptr<BrowserThreadImpl> ui_thread_; |
scoped_ptr<BrowserThreadImpl> file_thread_; |
@@ -102,10 +87,6 @@ |
MessageLoop::current()->Run(); |
} |
-TEST_F(BrowserThreadTest, NotReleasedIfTargetThreadNonExistent) { |
- scoped_refptr<NeverDeleted> test(new NeverDeleted()); |
-} |
- |
TEST_F(BrowserThreadTest, PostTaskViaMessageLoopProxy) { |
scoped_refptr<base::MessageLoopProxy> message_loop_proxy = |
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE); |
@@ -133,4 +114,4 @@ |
MessageLoop::current()->Run(); |
} |
-} |
+} // namespace content |