| 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 "config.h" | |
| 6 | |
| 7 #include "cc/proxy.h" | 5 #include "cc/proxy.h" |
| 8 | 6 |
| 9 #include "cc/thread.h" | 7 #include "cc/thread.h" |
| 10 #include "cc/thread_impl.h" | 8 #include "cc/thread_impl.h" |
| 11 | 9 |
| 12 namespace cc { | 10 namespace cc { |
| 13 | 11 |
| 14 Thread* Proxy::mainThread() const | 12 Thread* Proxy::mainThread() const |
| 15 { | 13 { |
| 16 return m_mainThread.get(); | 14 return m_mainThread.get(); |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 #endif | 88 #endif |
| 91 { | 89 { |
| 92 } | 90 } |
| 93 | 91 |
| 94 Proxy::~Proxy() | 92 Proxy::~Proxy() |
| 95 { | 93 { |
| 96 DCHECK(isMainThread()); | 94 DCHECK(isMainThread()); |
| 97 } | 95 } |
| 98 | 96 |
| 99 } // namespace cc | 97 } // namespace cc |
| OLD | NEW |