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

Unified Diff: cc/trees/property_tree.h

Issue 1252313004: Add ClipNode when Render Surface Inherits Clip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Layout tests pass , unit test added , comments on patch 11 Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: cc/trees/property_tree.h
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
index 0ec77bc5bbea6c46d37d31aa1660e4a9eaed3404..baaca64fa85336535594eee0c4b2bd0d4cb1ebb2 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -139,6 +139,10 @@ struct CC_EXPORT ClipNodeData {
gfx::RectF combined_clip;
int transform_id;
int target_id;
+ // This value is true for clip nodes created by layers that do not apply any
+ // clip themselves, but own a render surface that inherits the parent
+ // target space clip.
+ bool inherit_parent_target_space_clip;
};
typedef TreeNode<ClipNodeData> ClipNode;

Powered by Google App Engine
This is Rietveld 408576698