summaryrefslogtreecommitdiffstats
path: root/cc/trees/property_tree.cc
diff options
context:
space:
mode:
authorjaydasika <jaydasika@chromium.org>2015-08-10 14:47:55 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-10 21:48:30 +0000
commit5c41bb91844967ff9a7a94b87f8098b9e7f805af (patch)
tree9d344142ec23d1b1b2ec24100b26a38ef584aa4f /cc/trees/property_tree.cc
parentfafb1e3d4db2c66f9f5de80096e6217abaa72b0d (diff)
downloadchromium_src-5c41bb91844967ff9a7a94b87f8098b9e7f805af.zip
chromium_src-5c41bb91844967ff9a7a94b87f8098b9e7f805af.tar.gz
chromium_src-5c41bb91844967ff9a7a94b87f8098b9e7f805af.tar.bz2
Drawable Content Rect From Property Trees
Drawable content rect is computed in CDP. This patch computes it using property trees and checks that property tree computation matches CDP computation. BUG=497817 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1241223002 Cr-Commit-Position: refs/heads/master@{#342703}
Diffstat (limited to 'cc/trees/property_tree.cc')
-rw-r--r--cc/trees/property_tree.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/trees/property_tree.cc b/cc/trees/property_tree.cc
index 0b60d27..2ec4674 100644
--- a/cc/trees/property_tree.cc
+++ b/cc/trees/property_tree.cc
@@ -97,7 +97,8 @@ void TransformNodeData::update_post_local_transform(
ClipNodeData::ClipNodeData()
: transform_id(-1),
target_id(-1),
- inherit_parent_target_space_clip(false) {}
+ inherit_parent_target_space_clip(false),
+ requires_tight_clip_rect(true) {}
OpacityNodeData::OpacityNodeData() : opacity(1.f), screen_space_opacity(1.f) {
}