Commit 2b2adc8b authored by Chris Harrelson's avatar Chris Harrelson Committed by Commit Bot

Optimize the size of DataForRecursion a bit by reordering fields.

Bug: 734363
Change-Id: I014249729a4606fdc422cfa92a4deb0f70474ec7
Reviewed-on: https://chromium-review.googlesource.com/565456Reviewed-by: default avatarWalter Korman <wkorman@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#485423}
parent 533ab462
......@@ -35,28 +35,28 @@ struct DataForRecursion {
PropertyTrees* property_trees;
LayerType* transform_tree_parent;
LayerType* transform_fixed_parent;
int clip_tree_parent;
int effect_tree_parent;
int scroll_tree_parent;
int closest_ancestor_with_copy_request;
const LayerType* page_scale_layer;
const LayerType* inner_viewport_scroll_layer;
const LayerType* outer_viewport_scroll_layer;
const LayerType* overscroll_elasticity_layer;
gfx::Vector2dF elastic_overscroll;
const gfx::Transform* device_transform;
float page_scale_factor;
int clip_tree_parent;
int effect_tree_parent;
int scroll_tree_parent;
int closest_ancestor_with_copy_request;
uint32_t main_thread_scrolling_reasons;
SkColor safe_opaque_background_color;
bool in_subtree_of_page_scale_layer;
bool affected_by_inner_viewport_bounds_delta;
bool affected_by_outer_viewport_bounds_delta;
bool should_flatten;
bool is_hidden;
uint32_t main_thread_scrolling_reasons;
bool scroll_tree_parent_created_by_uninheritable_criteria;
const gfx::Transform* device_transform;
gfx::Transform compound_transform_since_render_target;
bool animation_axis_aligned_since_render_target;
bool not_axis_aligned_since_last_clip;
SkColor safe_opaque_background_color;
gfx::Transform compound_transform_since_render_target;
gfx::Vector2dF elastic_overscroll;
};
static LayerPositionConstraint PositionConstraint(Layer* layer) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment