| Index: cc/trees/property_tree.h
|
| diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
|
| index 3dc0594bf158e558b5b37a49e9abadc9655dd58c..a28a6542f1355bf60f09aeba6a8f42d992494444 100644
|
| --- a/cc/trees/property_tree.h
|
| +++ b/cc/trees/property_tree.h
|
| @@ -582,6 +582,18 @@ struct DrawTransformData {
|
| transforms(gfx::Transform(), gfx::Transform()) {}
|
| };
|
|
|
| +struct ConditionalClip {
|
| + bool is_clipped;
|
| + gfx::RectF clip_rect;
|
| +};
|
| +
|
| +struct ClipRectData {
|
| + int target_id;
|
| + ConditionalClip clip;
|
| +
|
| + ClipRectData() : target_id(-1) {}
|
| +};
|
| +
|
| struct PropertyTreesCachedData {
|
| int transform_tree_update_number;
|
| std::vector<AnimationScaleData> animation_scales;
|
| @@ -679,6 +691,8 @@ class CC_EXPORT PropertyTrees final {
|
| int transform_id,
|
| int effect_id) const;
|
|
|
| + ClipRectData* FetchClipRectFromCache(int clip_id, int target_id);
|
| +
|
| private:
|
| gfx::Vector2dF inner_viewport_container_bounds_delta_;
|
| gfx::Vector2dF outer_viewport_container_bounds_delta_;
|
|
|