| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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/prioritized_texture.h" | 7 #include "cc/prioritized_texture.h" |
| 8 | 8 |
| 9 #include "cc/platform_color.h" | 9 #include "cc/platform_color.h" |
| 10 #include "cc/prioritized_texture_manager.h" | 10 #include "cc/prioritized_texture_manager.h" |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 DCHECK(m_priorityAtLastPriorityUpdate == PriorityCalculator::lowestPrior
ity()); | 196 DCHECK(m_priorityAtLastPriorityUpdate == PriorityCalculator::lowestPrior
ity()); |
| 197 } | 197 } |
| 198 | 198 |
| 199 void PrioritizedTexture::returnBackingTexture() | 199 void PrioritizedTexture::returnBackingTexture() |
| 200 { | 200 { |
| 201 DCHECK(m_manager || !m_backing); | 201 DCHECK(m_manager || !m_backing); |
| 202 if (m_manager) | 202 if (m_manager) |
| 203 m_manager->returnBackingTexture(this); | 203 m_manager->returnBackingTexture(this); |
| 204 } | 204 } |
| 205 | 205 |
| 206 } // namespace cc | 206 } // namespace cc |
| OLD | NEW |