| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 has_copy_request(false), | 497 has_copy_request(false), |
| 498 has_background_filters(false), | 498 has_background_filters(false), |
| 499 hidden_by_backface_visibility(false), | 499 hidden_by_backface_visibility(false), |
| 500 double_sided(false), | 500 double_sided(false), |
| 501 is_drawn(true), | 501 is_drawn(true), |
| 502 subtree_hidden(false), | 502 subtree_hidden(false), |
| 503 has_potential_opacity_animation(false), | 503 has_potential_opacity_animation(false), |
| 504 is_currently_animating_opacity(false), | 504 is_currently_animating_opacity(false), |
| 505 effect_changed(false), | 505 effect_changed(false), |
| 506 num_copy_requests_in_subtree(0), | 506 num_copy_requests_in_subtree(0), |
| 507 has_unclipped_descendants(false), |
| 507 transform_id(0), | 508 transform_id(0), |
| 508 clip_id(0), | 509 clip_id(0), |
| 509 target_id(0) {} | 510 target_id(0) {} |
| 510 | 511 |
| 511 EffectNodeData::EffectNodeData(const EffectNodeData& other) = default; | 512 EffectNodeData::EffectNodeData(const EffectNodeData& other) = default; |
| 512 | 513 |
| 513 bool EffectNodeData::operator==(const EffectNodeData& other) const { | 514 bool EffectNodeData::operator==(const EffectNodeData& other) const { |
| 514 return opacity == other.opacity && | 515 return opacity == other.opacity && |
| 515 screen_space_opacity == other.screen_space_opacity && | 516 screen_space_opacity == other.screen_space_opacity && |
| 516 has_render_surface == other.has_render_surface && | 517 has_render_surface == other.has_render_surface && |
| (...skipping 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2076 value->EndDictionary(); | 2077 value->EndDictionary(); |
| 2077 | 2078 |
| 2078 value->BeginDictionary("scroll_tree"); | 2079 value->BeginDictionary("scroll_tree"); |
| 2079 scroll_tree.AsValueInto(value.get()); | 2080 scroll_tree.AsValueInto(value.get()); |
| 2080 value->EndDictionary(); | 2081 value->EndDictionary(); |
| 2081 | 2082 |
| 2082 return value; | 2083 return value; |
| 2083 } | 2084 } |
| 2084 | 2085 |
| 2085 } // namespace cc | 2086 } // namespace cc |
| OLD | NEW |