From 4715be80e3bb25aad4c2dd7389835fbf258c178b Mon Sep 17 00:00:00 2001 From: David Worsham Date: Mon, 14 Dec 2020 11:54:03 -0800 Subject: [PATCH] fuchsia: Fix incorrect scale (flutter/engine#23047) --- engine/src/flutter/flow/scene_update_context.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/flow/scene_update_context.cc b/engine/src/flutter/flow/scene_update_context.cc index 35ef531990..19b3905faa 100644 --- a/engine/src/flutter/flow/scene_update_context.cc +++ b/engine/src/flutter/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()) {