OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/output/filter_operations.h" | 5 #include "cc/output/filter_operations.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <cmath> | 9 #include <cmath> |
8 | 10 |
9 #include "base/trace_event/trace_event_argument.h" | 11 #include "base/trace_event/trace_event_argument.h" |
10 #include "base/values.h" | 12 #include "base/values.h" |
11 #include "cc/output/filter_operation.h" | 13 #include "cc/output/filter_operation.h" |
12 | 14 |
13 namespace cc { | 15 namespace cc { |
14 | 16 |
15 FilterOperations::FilterOperations() {} | 17 FilterOperations::FilterOperations() {} |
16 | 18 |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 void FilterOperations::AsValueInto( | 214 void FilterOperations::AsValueInto( |
213 base::trace_event::TracedValue* value) const { | 215 base::trace_event::TracedValue* value) const { |
214 for (size_t i = 0; i < operations_.size(); ++i) { | 216 for (size_t i = 0; i < operations_.size(); ++i) { |
215 value->BeginDictionary(); | 217 value->BeginDictionary(); |
216 operations_[i].AsValueInto(value); | 218 operations_[i].AsValueInto(value); |
217 value->EndDictionary(); | 219 value->EndDictionary(); |
218 } | 220 } |
219 } | 221 } |
220 | 222 |
221 } // namespace cc | 223 } // namespace cc |
OLD | NEW |