)]}'
{
  "commit": "6265082af5b2e931c01781befbd93abf39c3d4be",
  "tree": "2bb69da374b7e156055d3f83e6fa4ab8cd1894d1",
  "parents": [
    "dbf8535b2e3ef61632ee39c5607607c924d11d53"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Tue Jun 25 18:19:06 2024 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Jun 25 18:19:06 2024 +0000"
  },
  "message": "M127: Revert \"Do not use strict mode when decoding JPEG2000 images\"\n\nThis reverts commit e97ee6e258c4657747070c876a51206312347e9b.\n\nReason for revert: Caused decoding problems in OpenJPEG.\n\nOriginal change\u0027s description:\n\u003e Do not use strict mode when decoding JPEG2000 images\n\u003e\n\u003e Acrobat Reader can render the PDF attached to the bug report, while\n\u003e PDFium cannot. This is because PDFium uses libopenjpeg, and in the past\n\u003e libopenjpeg only had strict mode, which rejects the image in the PDF and\n\u003e refuses to do partial rendering. Now opj_decoder_set_strict_mode()\n\u003e exists in libopenjpeg. Use it to unset strict mode, so PDFium can render\n\u003e the PDF in the bug report in the same way as Acrobat Reader.\n\u003e\n\u003e Bug: 42270564\n\u003e Change-Id: I77b1f73659d48252d488a4a1bd170cce20017aff\n\u003e Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/119592\n\u003e Reviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\n\u003e Reviewed-by: Thomas Sepez \u003ctsepez@google.com\u003e\n\u003e Commit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\n\n# Not skipping CQ checks because original CL landed \u003e 1 day ago.\n\nBug: 42270564, 348129258\nChange-Id: I5a6cff61c89e56bce79365fd6aeeeb12756fc724\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/120793\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\nReviewed-by: Thomas Sepez \u003ctsepez@google.com\u003e\n(cherry picked from commit 05adb819cadd57e396f33a76a83551d550c3fde8)\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/121030\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f0607fd27f2bbbce2911c3177e625e068f1ab22c",
      "old_mode": 33188,
      "old_path": "core/fxcodec/jpx/cjpx_decoder.cpp",
      "new_id": "5e4cbfa4ec1c236108bfee672951ef7556dcd297",
      "new_mode": 33188,
      "new_path": "core/fxcodec/jpx/cjpx_decoder.cpp"
    }
  ]
}
