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 "CCDebugRectHistory.h" | 7 #include "CCDebugRectHistory.h" |
8 | 8 |
9 #include "CCDamageTracker.h" | 9 #include "CCDamageTracker.h" |
10 #include "CCLayerImpl.h" | 10 #include "CCLayerImpl.h" |
11 #include "CCLayerTreeHost.h" | 11 #include "CCLayerTreeHost.h" |
enne (OOO)
2012/10/16 05:27:18
Why only convert some of these?
| |
12 #include "CCMathUtil.h" | 12 #include "cc/math_util.h" |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 | 15 |
16 // static | 16 // static |
17 scoped_ptr<CCDebugRectHistory> CCDebugRectHistory::create() { | 17 scoped_ptr<CCDebugRectHistory> CCDebugRectHistory::create() { |
18 return make_scoped_ptr(new CCDebugRectHistory()); | 18 return make_scoped_ptr(new CCDebugRectHistory()); |
19 } | 19 } |
20 | 20 |
21 CCDebugRectHistory::CCDebugRectHistory() | 21 CCDebugRectHistory::CCDebugRectHistory() |
22 { | 22 { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
114 } | 114 } |
115 | 115 |
116 void CCDebugRectHistory::saveOccludingRects(const Vector<IntRect>& occludingRect s) | 116 void CCDebugRectHistory::saveOccludingRects(const Vector<IntRect>& occludingRect s) |
117 { | 117 { |
118 for (size_t i = 0; i < occludingRects.size(); ++i) | 118 for (size_t i = 0; i < occludingRects.size(); ++i) |
119 m_debugRects.append(CCDebugRect(OccludingRectType, occludingRects[i])); | 119 m_debugRects.append(CCDebugRect(OccludingRectType, occludingRects[i])); |
120 } | 120 } |
121 | 121 |
122 } // namespace cc | 122 } // namespace cc |
123 | 123 |
OLD | NEW |