)]}'
{
  "commit": "82fcfc52eb65d7b2495a3d077f4789943f83877f",
  "tree": "5a92979d9d804b3e56fc5e6bfe1930c5d35263b9",
  "parents": [
    "2f4dd8493bf4ca2a6c6097eb83166088faafbe31"
  ],
  "author": {
    "name": "Hui Yingst",
    "email": "nigi@chromium.org",
    "time": "Wed Apr 06 01:28:39 2022 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Apr 06 01:28:39 2022 +0000"
  },
  "message": "[Skia] Fix mask blending issues.\n\nWhen painting a mask-format image, it can be treated as an individual\nimage ready to be painted or it can be used as the mask of another\nimage. For the former case, it\u0027s used as an image instead of a color\nfilter.\n\nBased on the existing SetBitmapPaint(), this CL applies the following\nchanges for these two cases:\n\n- Calls SetBitmapPaint() only for the former case: Make this function\n  set the paint color since a image-format bitmap must be\n  1-bit-per-component and doesn\u0027t contain the color information from\n  the graphic state (if it\u0027s available). Also avoids setting color\n  filter in this function.\n\n- Creates SetBitmapPaintForMerge() which applies color filter to the\n  SkPaint and only call this function for the latter case.\n\nBug: pdfium:1746, pdfium:1747, pdfium:1749\nChange-Id: I6f363d0316375eea302a29804def049934851ddc\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/92312\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\nCommit-Queue: Nigi \u003cnigi@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b8545d20a78ae955c68c083d5651e81fa54b41ce",
      "old_mode": 33188,
      "old_path": "core/fxge/skia/fx_skia_device.cpp",
      "new_id": "0e3995201dd024af839d7d1fe0296242351b5203",
      "new_mode": 33188,
      "new_path": "core/fxge/skia/fx_skia_device.cpp"
    },
    {
      "type": "modify",
      "old_id": "b0e1beb2095710e7cae69d851e83701754f10d8d",
      "old_mode": 33188,
      "old_path": "testing/SUPPRESSIONS",
      "new_id": "24ca5c0e691994d0f6c718f30de9884f033ca671",
      "new_mode": 33188,
      "new_path": "testing/SUPPRESSIONS"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0ab21f94c7304654eeddee75158ce5e202598773",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1746_expected_skia.pdf.0.png"
    }
  ]
}
