| 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 "CCProxy.h" |
| 8 | 8 |
| 9 #include "CCThreadTask.h" | 9 #include "CCThreadTask.h" |
| 10 | 10 |
| 11 using namespace WTF; | 11 using namespace WTF; |
| 12 | 12 |
| 13 namespace WebCore { | 13 namespace cc { |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 #ifndef NDEBUG | 16 #ifndef NDEBUG |
| 17 bool implThreadIsOverridden = false; | 17 bool implThreadIsOverridden = false; |
| 18 bool s_isMainThreadBlocked = false; | 18 bool s_isMainThreadBlocked = false; |
| 19 base::PlatformThreadId threadIDOverridenToBeImplThread; | 19 base::PlatformThreadId threadIDOverridenToBeImplThread; |
| 20 #endif | 20 #endif |
| 21 CCThread* s_mainThread = 0; | 21 CCThread* s_mainThread = 0; |
| 22 CCThread* s_implThread = 0; | 22 CCThread* s_implThread = 0; |
| 23 } | 23 } |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 { | 96 { |
| 97 ASSERT(isMainThread()); | 97 ASSERT(isMainThread()); |
| 98 } | 98 } |
| 99 | 99 |
| 100 CCProxy::~CCProxy() | 100 CCProxy::~CCProxy() |
| 101 { | 101 { |
| 102 ASSERT(isMainThread()); | 102 ASSERT(isMainThread()); |
| 103 } | 103 } |
| 104 | 104 |
| 105 } | 105 } |
| OLD | NEW |