)]}'
{
  "commit": "e9eb802eadab2be0bd496366a6f3d8ad84fdc2ab",
  "tree": "e2f5ec4e7dead7ba90ddac210a270c7b76b8c448",
  "parents": [
    "999e21fa2424aada4189bdd89a19e0cd5779be69"
  ],
  "author": {
    "name": "Hui Yingst",
    "email": "nigi@chromium.org",
    "time": "Fri Dec 16 19:31:16 2022 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Dec 16 19:31:16 2022 +0000"
  },
  "message": "[Skia] Fix rendering issue for converting 1 bpp image source\n\nThis CL makes the following changes to fix the process of upsampling\nnon-grayscale 1 bit-per-pixel images:\n- Move the process for handling 1-bpp image from\n  Fill32BppDestStorageWithPalette() to a new helper function\n  Fill32BppDestStorageWith1BppSource().\n- For a 1 bit-per-pixel image, even if it\u0027s not a grayscale image, it\n  should have only two colors. Remove the process of building a new\n  palette with the size of 256 since it\u0027s not needed.\n- As BuildPaletteFrom1BppSource() is no longer needed outside of\n  core/fxge/dib/cfx_imagestretcher.cpp, move it into anonymous\n  namespace.\n\nBug: chromium:1383708, chromium:1400882\nChange-Id: I77557ed3b61b745b5ee98def5dc359ba80b8f85f\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/102610\nCommit-Queue: Nigi \u003cnigi@chromium.org\u003e\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "61af22a9a3da94c025a71d73ff74ef442f334c39",
      "old_mode": 33188,
      "old_path": "core/fxge/dib/cfx_imagestretcher.cpp",
      "new_id": "f9b828a9e9f0cf6f54380176547e6ca5023f902d",
      "new_mode": 33188,
      "new_path": "core/fxge/dib/cfx_imagestretcher.cpp"
    },
    {
      "type": "modify",
      "old_id": "58c5634958df9fa5ef5c562a744c932152e552be",
      "old_mode": 33188,
      "old_path": "core/fxge/dib/cfx_imagestretcher.h",
      "new_id": "7e51dc72617cff995f4a60d74dc417f0ec81b477",
      "new_mode": 33188,
      "new_path": "core/fxge/dib/cfx_imagestretcher.h"
    },
    {
      "type": "modify",
      "old_id": "e64fc145809e9ab4b49b2caabc8231c3cbc731ca",
      "old_mode": 33188,
      "old_path": "core/fxge/skia/fx_skia_device.cpp",
      "new_id": "449f6b0a88932a7490a61889834f74bfb2d08d40",
      "new_mode": 33188,
      "new_path": "core/fxge/skia/fx_skia_device.cpp"
    },
    {
      "type": "modify",
      "old_id": "9768236dfc54574d9c86659eefcd1549dfeb82bb",
      "old_mode": 33188,
      "old_path": "testing/SUPPRESSIONS",
      "new_id": "f022c38f7c9c9f7700ac0435aa81a76a0085defa",
      "new_mode": 33188,
      "new_path": "testing/SUPPRESSIONS"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "36119e009e137c534e10c7f8a3ce2a555481726d",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1383708_expected_skia.pdf.0.png"
    }
  ]
}
