summaryrefslogtreecommitdiffstats
path: root/cc/layers/layer.cc
diff options
context:
space:
mode:
authorjaydasika <jaydasika@chromium.org>2016-02-29 16:28:35 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-01 00:29:38 +0000
commit16515f5e0e83c7b091f635333e708bde23ab3bdb (patch)
tree70d9a7e20efeb86d9df279b7030f5e4c35ae6b6d /cc/layers/layer.cc
parent46e95bb6168b76d8664d3dc9bd971d06be4a2fc0 (diff)
downloadchromium_src-16515f5e0e83c7b091f635333e708bde23ab3bdb.zip
chromium_src-16515f5e0e83c7b091f635333e708bde23ab3bdb.tar.gz
chromium_src-16515f5e0e83c7b091f635333e708bde23ab3bdb.tar.bz2
cc : Track opacity changes for damage rect without layer tree hierarchy
Matches the behavior without this CL expect in one case. This patch sets layer property changed even when there is impl only opacity animation and animation changes on main thread. BUG=584512 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1711763004 Cr-Commit-Position: refs/heads/master@{#378341}
Diffstat (limited to 'cc/layers/layer.cc')
-rw-r--r--cc/layers/layer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index b4fec7a..3842741 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -533,6 +533,7 @@ void Layer::SetOpacity(float opacity) {
if (opacity_ == opacity)
return;
opacity_ = opacity;
+ SetSubtreePropertyChanged();
SetNeedsCommit();
}