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

Unified Diff: cc/trees/draw_property_utils.cc

Issue 2859483006: cc: Enable composited border-radius scrolling.
Patch Set: Calculate mask layer opacity. Created 3 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/solid_color_layer_impl.cc ('k') | cc/trees/layer_tree_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/draw_property_utils.cc
diff --git a/cc/trees/draw_property_utils.cc b/cc/trees/draw_property_utils.cc
index 15535c53448ed3030494b59e025a7dccaada694f..02a21dc11a920d787d750cda1e0c10a14c5705a0 100644
--- a/cc/trees/draw_property_utils.cc
+++ b/cc/trees/draw_property_utils.cc
@@ -1016,6 +1016,8 @@ void ComputeMaskDrawProperties(LayerImpl* mask_layer,
property_trees->transform_tree);
mask_layer->draw_properties().visible_layer_rect =
gfx::Rect(mask_layer->bounds());
+ mask_layer->draw_properties().opacity =
enne (OOO) 2017/05/15 18:01:44 Sorry for my confusion, but I'm not sure why you n
+ LayerDrawOpacity(mask_layer, property_trees->effect_tree);
}
void ComputeSurfaceDrawProperties(PropertyTrees* property_trees,
« no previous file with comments | « cc/layers/solid_color_layer_impl.cc ('k') | cc/trees/layer_tree_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698