Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: cc/debug_rect_history.cc

Issue 11145033: cc: Get rid of CC*.h temporary header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698