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" | 5 #include "config.h" |
6 | 6 |
7 #include "CCProxy.h" | 7 #include "cc/proxy.h" |
8 | 8 |
9 #include "cc/thread_task.h" | 9 #include "cc/thread_task.h" |
10 | 10 |
11 namespace cc { | 11 namespace cc { |
12 | 12 |
13 namespace { | 13 namespace { |
14 #ifndef NDEBUG | 14 #ifndef NDEBUG |
15 bool implThreadIsOverridden = false; | 15 bool implThreadIsOverridden = false; |
16 bool s_isMainThreadBlocked = false; | 16 bool s_isMainThreadBlocked = false; |
17 base::PlatformThreadId threadIDOverridenToBeImplThread; | 17 base::PlatformThreadId threadIDOverridenToBeImplThread; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 { | 108 { |
109 DCHECK(isMainThread()); | 109 DCHECK(isMainThread()); |
110 } | 110 } |
111 | 111 |
112 CCProxy::~CCProxy() | 112 CCProxy::~CCProxy() |
113 { | 113 { |
114 DCHECK(isMainThread()); | 114 DCHECK(isMainThread()); |
115 } | 115 } |
116 | 116 |
117 } | 117 } |
OLD | NEW |