From c0717c1595fc953447b9a5aac8bd5e6ce831106c Mon Sep 17 00:00:00 2001 From: David Worsham Date: Fri, 11 Dec 2020 19:12:15 -0800 Subject: [PATCH] fuchsia: Fix incorrect scale --- flow/scene_update_context.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/scene_update_context.cc b/flow/scene_update_context.cc index 35ef531990d36..19b3905faac46 100644 --- a/flow/scene_update_context.cc +++ b/flow/scene_update_context.cc @@ -125,7 +125,7 @@ void SceneUpdateContext::Reset(const SkISize& frame_size, // Adjust scene scaling to match the device pixel ratio. const float inv_dpr = 1.0f / device_pixel_ratio; - metrics_node_.SetScale(inv_dpr, inv_dpr, 1.0f); + layer_tree_node_.SetScale(inv_dpr, inv_dpr, 1.0f); // Set up the input interceptor at the top of the scene, if applicable. if (input_interceptor_node_.has_value()) {