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

Unified Diff: cc/layers/layer.cc

Issue 1991523002: cc : Track ids for which active opacity always wins on property trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/painted_scrollbar_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index eb851d86b972a2226cdc3e1817fa7080495894fe..61d8b01f484f47712b6ce6ce4d1a82e4faaa1f9c 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -505,6 +505,10 @@ bool Layer::OpacityCanAnimateOnImplThread() const {
return false;
}
+bool Layer::AlwaysUseActiveTreeOpacity() const {
+ return false;
+}
+
void Layer::SetBlendMode(SkXfermode::Mode blend_mode) {
DCHECK(IsPropertyChangeAllowed());
if (blend_mode_ == blend_mode)
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/painted_scrollbar_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698