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" | |
6 | |
7 #include "cc/resource_update_queue.h" | 5 #include "cc/resource_update_queue.h" |
8 | 6 |
9 #include "cc/prioritized_resource.h" | 7 #include "cc/prioritized_resource.h" |
10 | 8 |
11 namespace cc { | 9 namespace cc { |
12 | 10 |
13 ResourceUpdateQueue::ResourceUpdateQueue() | 11 ResourceUpdateQueue::ResourceUpdateQueue() |
14 { | 12 { |
15 } | 13 } |
16 | 14 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 m_copyEntries.pop_front(); | 69 m_copyEntries.pop_front(); |
72 return first; | 70 return first; |
73 } | 71 } |
74 | 72 |
75 bool ResourceUpdateQueue::hasMoreUpdates() const | 73 bool ResourceUpdateQueue::hasMoreUpdates() const |
76 { | 74 { |
77 return m_fullEntries.size() || m_partialEntries.size() || m_copyEntries.size
(); | 75 return m_fullEntries.size() || m_partialEntries.size() || m_copyEntries.size
(); |
78 } | 76 } |
79 | 77 |
80 } // namespace cc | 78 } // namespace cc |
OLD | NEW |