| 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 "cc/scoped_thread_proxy.h" | 7 #include "cc/scoped_thread_proxy.h" |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 { | 36 { |
| 37 // If our shutdown flag is set, it's possible that m_targetThread has alread
y been destroyed so don't | 37 // If our shutdown flag is set, it's possible that m_targetThread has alread
y been destroyed so don't |
| 38 // touch it. | 38 // touch it. |
| 39 if (m_shutdown) { | 39 if (m_shutdown) { |
| 40 return; | 40 return; |
| 41 } | 41 } |
| 42 DCHECK(m_targetThread->belongsToCurrentThread()); | 42 DCHECK(m_targetThread->belongsToCurrentThread()); |
| 43 cb.Run(); | 43 cb.Run(); |
| 44 } | 44 } |
| 45 | 45 |
| 46 } | 46 } // namespace cc |
| OLD | NEW |