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

Unified Diff: cc/layers/layer_impl.cc

Issue 2164833002: Use surface contents scale from effect tree (3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments 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 | « no previous file | cc/layers/render_surface_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index 15a494920474e404041001fc91fbb2139d4023fe..48a8f50176c617bef0e28cafe92f1681b2435647 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -1076,7 +1076,8 @@ gfx::Transform LayerImpl::DrawTransform() const {
if (!is_drawn_render_surface_layer_list_member()) {
if (layer_tree_impl()->property_trees()->non_root_surfaces_enabled) {
return draw_property_utils::DrawTransform(
- this, layer_tree_impl()->property_trees()->transform_tree);
+ this, layer_tree_impl()->property_trees()->transform_tree,
+ layer_tree_impl()->property_trees()->effect_tree);
} else {
return draw_property_utils::ScreenSpaceTransform(
this, layer_tree_impl()->property_trees()->transform_tree);
« no previous file with comments | « no previous file | cc/layers/render_surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698