OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "cc/base/region.h" | 5 #include "cc/base/region.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/trace_event/trace_event_argument.h" | 9 #include "base/trace_event/trace_event_argument.h" |
8 #include "base/values.h" | 10 #include "base/values.h" |
9 #include "cc/base/simple_enclosed_region.h" | 11 #include "cc/base/simple_enclosed_region.h" |
10 | 12 |
11 namespace cc { | 13 namespace cc { |
12 | 14 |
13 Region::Region() { | 15 Region::Region() { |
14 } | 16 } |
15 | 17 |
16 Region::Region(const Region& region) | 18 Region::Region(const Region& region) |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 } | 146 } |
145 | 147 |
146 Region::Iterator::Iterator(const Region& region) | 148 Region::Iterator::Iterator(const Region& region) |
147 : it_(region.skregion_) { | 149 : it_(region.skregion_) { |
148 } | 150 } |
149 | 151 |
150 Region::Iterator::~Iterator() { | 152 Region::Iterator::~Iterator() { |
151 } | 153 } |
152 | 154 |
153 } // namespace cc | 155 } // namespace cc |
OLD | NEW |