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

Unified Diff: cc/trees/draw_property_utils.cc

Issue 2168753002: cc : Use sublayer scale from effect tree (4) (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 | « no previous file | cc/trees/layer_tree_impl.cc » ('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 767f88429e4c1c10c46eaca60b1e132dc743ef69..9aefcbe3f52e6bab9ccb66d4f818ad7ff4b00f76 100644
--- a/cc/trees/draw_property_utils.cc
+++ b/cc/trees/draw_property_utils.cc
@@ -1470,9 +1470,9 @@ void ComputeSurfaceDrawProperties(const PropertyTrees* property_trees,
SetSurfaceDrawTransform(property_trees->transform_tree,
property_trees->effect_tree, render_surface);
render_surface->SetScreenSpaceTransform(
- property_trees->transform_tree
- .ToScreenSpaceTransformWithoutSurfaceContentsScale(
- render_surface->TransformTreeIndex()));
+ property_trees->ToScreenSpaceTransformWithoutSurfaceContentsScale(
+ render_surface->TransformTreeIndex(),
+ render_surface->EffectTreeIndex()));
if (render_surface->HasReplica()) {
gfx::Transform replica_to_surface = ReplicaToSurfaceTransform(
« no previous file with comments | « no previous file | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698