| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "cc/thread_impl.h" | 5 #include "cc/thread_impl.h" |
| 6 | 6 |
| 7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
| 8 | 8 |
| 9 namespace cc { | 9 namespace cc { |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 bool ThreadImpl::belongsToCurrentThread() const | 35 bool ThreadImpl::belongsToCurrentThread() const |
| 36 { | 36 { |
| 37 return m_thread->BelongsToCurrentThread(); | 37 return m_thread->BelongsToCurrentThread(); |
| 38 } | 38 } |
| 39 | 39 |
| 40 ThreadImpl::ThreadImpl(scoped_refptr<base::MessageLoopProxy> thread) | 40 ThreadImpl::ThreadImpl(scoped_refptr<base::MessageLoopProxy> thread) |
| 41 : m_thread(thread) | 41 : m_thread(thread) |
| 42 { | 42 { |
| 43 } | 43 } |
| 44 | 44 |
| 45 } // namespace cc | 45 } // namespace cc |
| OLD | NEW |