From 8ee6d3572e99d8d0c484b103854064ade8b26486 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Mon, 12 Jan 2026 14:51:56 -0800 Subject: [PATCH] Roll libpng to version 1.6.53 (#180712) See https://github.com/flutter/flutter/issues/180191 --- DEPS | 2 +- .../2_dispose_op_restore_previous.apng.67.png | Bin 23160 -> 23160 bytes .../2_dispose_op_restore_previous.apng.68.png | Bin 23121 -> 23121 bytes .../2_dispose_op_restore_previous.apng.69.png | Bin 23355 -> 23355 bytes .../ui/fixtures/four_frame_with_reuse_end.png | Bin 514 -> 514 bytes .../src/flutter/lib/ui/fixtures/heart_end.png | Bin 39572 -> 39572 bytes .../ui/painting/image_decoder_unittests.cc | 20 ------------------ .../common/fixtures/shelltest_screenshot.png | Bin 319 -> 319 bytes .../flutter/sky/packages/sky_engine/LICENSE | 8 +++---- .../src/flutter/testing/resources/square.png | Bin 124 -> 124 bytes 10 files changed, 5 insertions(+), 25 deletions(-) diff --git a/DEPS b/DEPS index a8cf371178c..2417f0aa29e 100644 --- a/DEPS +++ b/DEPS @@ -495,7 +495,7 @@ deps = { Var('flutter_git') + '/third_party/libjpeg-turbo' + '@' + '0fb821f3b2e570b2783a94ccd9a2fb1f4916ae9f', 'engine/src/flutter/third_party/libpng': - Var('flutter_git') + '/third_party/libpng' + '@' + 'de36b892e921c684ef718fec24739ae9bb49c977', + Var('flutter_git') + '/third_party/libpng' + '@' + 'f139fd5d80944f5453b079672e50f32ca98ef076', 'engine/src/flutter/third_party/libwebp': Var('chromium_git') + '/webm/libwebp.git' + '@' + 'ca332209cb5567c9b249c86788cb2dbf8847e760', # 1.3.2 diff --git a/engine/src/flutter/lib/ui/fixtures/2_dispose_op_restore_previous.apng.67.png b/engine/src/flutter/lib/ui/fixtures/2_dispose_op_restore_previous.apng.67.png index e71bfa885f0ea8f1e908dac3871938ed7ca101de..bdfede4eebb71050f4d27b3c6b222677da10a62e 100644 GIT binary patch delta 39 tcmeydh4IH0#tAA?EX7WqAsj$Z!;#X#z`(#*9OUlAuU|=bB@(kesf*OvLj*WI!Q2-U33}OHP diff --git a/engine/src/flutter/lib/ui/fixtures/2_dispose_op_restore_previous.apng.68.png b/engine/src/flutter/lib/ui/fixtures/2_dispose_op_restore_previous.apng.68.png index 3d698155271cc56f55938e70e85dbc3fb728c778..1e3ab0c488b60ad2f42ef3102a69712150d73e5c 100644 GIT binary patch delta 39 tcmcb(h4JDR#tAA?EX7WqAsj$Z!;#X#z`(#*9OUlAuU|=bB@(kesf*OvLj*WK0Q2+_y3+(^^ diff --git a/engine/src/flutter/lib/ui/fixtures/2_dispose_op_restore_previous.apng.69.png b/engine/src/flutter/lib/ui/fixtures/2_dispose_op_restore_previous.apng.69.png index 1ee3dd7f4a2c241745ce8a4bfa75d2d9da124175..f200430396aa46e73deca5c4645cb66cac00b485 100644 GIT binary patch delta 39 tcmdnJjdAxj#tAA?EX7WqAsj$Z!;#X#z`(#*9OUlAuU|=bB@(kesf*OvLj*WJIqW}ff46gtH diff --git a/engine/src/flutter/lib/ui/fixtures/four_frame_with_reuse_end.png b/engine/src/flutter/lib/ui/fixtures/four_frame_with_reuse_end.png index 5e7f54a087f607b930e4e218a153e82e69222eb0..9938adf3529c7fde6d736643e6345b8a6ee13650 100644 GIT binary patch delta 37 rcmZo-X=0h6BE?edU|=bB@(kesf*OvLj*WIwidth()); ASSERT_EQ(200, image->height()); - - auto decode = [descriptor](uint32_t target_width, uint32_t target_height) { - return ImageDecoderSkia::ImageFromCompressedData( - descriptor.get(), target_width, target_height, - fml::tracing::TraceFlow("")); - }; - - auto expected_data = flutter::testing::OpenFixtureAsSkData("Horizontal.png"); - ASSERT_TRUE(expected_data != nullptr); - ASSERT_FALSE(expected_data->isEmpty()); - - auto assert_image = [&](const auto& decoded_image, - const std::string& decode_error) { - ASSERT_EQ(decoded_image->dimensions(), SkISize::Make(300, 100)); - sk_sp encoded = - SkPngEncoder::Encode(nullptr, decoded_image.get(), {}); - ASSERT_TRUE(encoded->equals(expected_data.get())); - }; - - assert_image(decode(300, 100), {}); } TEST_F(ImageDecoderFixtureTest, diff --git a/engine/src/flutter/shell/common/fixtures/shelltest_screenshot.png b/engine/src/flutter/shell/common/fixtures/shelltest_screenshot.png index 26f5b38f102b4f2621bf27d7e8dca5438ed87364..bae9aad0fef9b6763fed1b18cf968e44f77a09ea 100644 GIT binary patch delta 37 rcmdnbw4Z5$iWEz+lV=DA5Y%v_bTBY5Fct^7J29*~C-ZWn9U~(Ew{Hpf delta 23 fcmdnbw4Z5$3KwH>kh>GZx^prwCn^e0bo>VZUGNB| diff --git a/engine/src/flutter/sky/packages/sky_engine/LICENSE b/engine/src/flutter/sky/packages/sky_engine/LICENSE index a3e1fcffa3a..8ea7faf0209 100644 --- a/engine/src/flutter/sky/packages/sky_engine/LICENSE +++ b/engine/src/flutter/sky/packages/sky_engine/LICENSE @@ -21360,8 +21360,8 @@ libpng PNG Reference Library License version 2 --------------------------------------- - * Copyright (c) 1995-2024 The PNG Reference Library Authors. - * Copyright (c) 2018-2024 Cosmin Truta. + * Copyright (c) 1995-2025 The PNG Reference Library Authors. + * Copyright (c) 2018-2025 Cosmin Truta. * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson. * Copyright (c) 1996-1997 Andreas Dilger. * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. @@ -21495,8 +21495,8 @@ libpng PNG Reference Library License version 2 --------------------------------------- - * Copyright (c) 1995-2024 The PNG Reference Library Authors. - * Copyright (c) 2018-2024 Cosmin Truta. + * Copyright (c) 1995-2025 The PNG Reference Library Authors. + * Copyright (c) 2018-2025 Cosmin Truta. * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson. * Copyright (c) 1996-1997 Andreas Dilger. * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. diff --git a/engine/src/flutter/testing/resources/square.png b/engine/src/flutter/testing/resources/square.png index 78a8b668951d75b74557fdf4844e6020a520b119..7b9e12354b8774ba9e46953bf171315a6a3b5f4a 100644 GIT binary patch delta 34 ocmb=anV=%YQtadz!T|&|94Q?P3=E9LLGDfr>(0r%oM>kU0GR{{iU0rr delta 21 ccmb=anV`bOSRCZ;#IWw1%*%<2!V?{>0Z-otSpWb4