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

Side by Side Diff: cc/output/filter_operations.cc

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « cc/output/filter_operation.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <cmath> 7 #include <cmath>
8 8
9 #include "base/debug/trace_event_argument.h" 9 #include "base/trace_event/trace_event_argument.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "cc/output/filter_operation.h" 11 #include "cc/output/filter_operation.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 FilterOperations::FilterOperations() {} 15 FilterOperations::FilterOperations() {}
16 16
17 FilterOperations::FilterOperations(const FilterOperations& other) 17 FilterOperations::FilterOperations(const FilterOperations& other)
18 : operations_(other.operations_) {} 18 : operations_(other.operations_) {}
19 19
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 void FilterOperations::AsValueInto(base::debug::TracedValue* value) const { 200 void FilterOperations::AsValueInto(base::debug::TracedValue* value) const {
201 for (size_t i = 0; i < operations_.size(); ++i) { 201 for (size_t i = 0; i < operations_.size(); ++i) {
202 value->BeginDictionary(); 202 value->BeginDictionary();
203 operations_[i].AsValueInto(value); 203 operations_[i].AsValueInto(value);
204 value->EndDictionary(); 204 value->EndDictionary();
205 } 205 }
206 } 206 }
207 207
208 } // namespace cc 208 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/filter_operation.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698