)]}'
{
  "commit": "9e4521d1fd5c8f06dffebb6c5f46d1cfc4b5a3c3",
  "tree": "d7eb42f576e65c3335ff9270e9c1e243dd0ed1b0",
  "parents": [
    "95b363233c27dd4ca10013173249238e0e26aa51"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Mon Oct 10 18:14:58 2022 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Oct 10 18:14:58 2022 +0000"
  },
  "message": "Fix overlapping annot rendering with focused annot.\n\nThe reason CPDFSDK_AnnotReverseIteration existed was to put the focused\nannotation at the end of the list, so it will draw on top of other\nannotations. When https://pdfium-review.googlesource.com/98870 fixed the\ndrawing order for overlapping annotations, it broke this use case.\n\nAdd CPDFSDK_AnnotIteration::CreateForDrawing() as a factory function to\ncreate CPDFSDK_AnnotIteration objects that iterate correctly for the\ndrawing use case. Use it in CPDFSDK_PageView::PageView_OnDraw() to fix\nannotation drawing. Make sure it works as expected with a new test case.\n\nBug: chromium:1372651\nChange-Id: I0bf673e9af9eb59773f7ef933fc363aab9f22abc\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/99110\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "aa736bb07fb765480a0799db9b17310f5b72fd73",
      "old_mode": 33188,
      "old_path": "fpdfsdk/cpdfsdk_annotiteration.cpp",
      "new_id": "e32946fe8768b7bae4bf7d24859fbaa1bc053b72",
      "new_mode": 33188,
      "new_path": "fpdfsdk/cpdfsdk_annotiteration.cpp"
    },
    {
      "type": "modify",
      "old_id": "a222877f7f501b4c8f5c98eb0880ef665b80d700",
      "old_mode": 33188,
      "old_path": "fpdfsdk/cpdfsdk_annotiteration.h",
      "new_id": "ff5b99aec88b554b9aa24aa3263db1ff8885f0c5",
      "new_mode": 33188,
      "new_path": "fpdfsdk/cpdfsdk_annotiteration.h"
    },
    {
      "type": "modify",
      "old_id": "66ed4cf96d6f72b6223d8331661e55c8653ce8a7",
      "old_mode": 33188,
      "old_path": "fpdfsdk/cpdfsdk_pageview.cpp",
      "new_id": "2f35101f8d561833b0e67b87b918426a29d42ed6",
      "new_mode": 33188,
      "new_path": "fpdfsdk/cpdfsdk_pageview.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "eb762ebb33deae78b45d5cb4401160ae90bb596a",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1372651.evt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "95b19483015d52af529bb0ed311908b34440826d",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1372651.in"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c7386a12c0396c96c38c76a4582f5f0abb804faa",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1372651_expected.pdf.0.png"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a749d63a7228d680577bee87b8af75d3f2375470",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1372651_expected_mac.pdf.0.png"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "00cc13c4fe88074999a9916dae670d9bac2d657f",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1372651_expected_skia.pdf.0.png"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f33a4a77f7c9d6ebb351d2eaa28743beec748b7d",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1372651_expected_skiapaths.pdf.0.png"
    }
  ]
}
