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

Unified Diff: cc/trees/property_tree_builder.cc

Issue 2188873002: cc: Add mask target size to the effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/trees/effect_node.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree_builder.cc
diff --git a/cc/trees/property_tree_builder.cc b/cc/trees/property_tree_builder.cc
index 8df219660cf8daa71772fda69835ec3668245c93..b0bf2bd1a0bc44912ab97f4cc60d9a4c3f520e88 100644
--- a/cc/trees/property_tree_builder.cc
+++ b/cc/trees/property_tree_builder.cc
@@ -977,6 +977,7 @@ bool AddEffectNodeIfNeeded(
node.opacity = Opacity(layer);
node.blend_mode = BlendMode(layer);
+ node.unscaled_mask_target_size = layer->bounds();
node.has_render_surface = should_create_render_surface;
node.has_copy_request = HasCopyRequest(layer);
node.filters = Filters(layer);
« no previous file with comments | « cc/trees/effect_node.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698