)]}'
{
  "commit": "8bc6915d4bac163b72fc2db031f5aa0369905129",
  "tree": "4275a38ee29cefe305817e8c75526acc6dea5a83",
  "parents": [
    "639c9989dfc1013b72330ff0d0fe9fd54c3db907"
  ],
  "author": {
    "name": "Puneet Jain",
    "email": "jpuneet@google.com",
    "time": "Sat Feb 26 02:04:55 2022 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Sat Feb 26 02:04:55 2022 +0000"
  },
  "message": "Add new APIs to get marked content id\n\nFPDF_StructElement_GetMarkedContentID() provides access to the MCID\nin a struct element. It assumes /K in a struct element dictionary\nis a number. This may be a case sometimes, but /K can also be an\narray with mixed types. See ISO 32000-1:2008, section 14.7.6 for\nexample. Adding FPDF_StructElement_GetMarkedContentIdCount() and\nFPDF_StructElement_GetMarkedContentIdAtIndex() to address this\nissue.\n\nThis change supersedes FPDF_StructElement_GetMarkedContentID(). It\nprovides a mechanism to access MCID at an index while supporting\nthe case where struct element dictionary is a number. After this\nchange, FPDF_StructElement_GetMarkedContentID() becomes redundant\nand should be deprecated.\n\nChange-Id: Icecd39fe3ea788e7f85851c2b7eb89453d083b2f\nBug: pdfium:1773\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/90611\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "76fd601d310c1a3e2e3cdf2d94d612bc9e6d1b5b",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_structtree.cpp",
      "new_id": "89f5f30d0b54ef4dd9087a1d513fd8b1ba053ceb",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_structtree.cpp"
    },
    {
      "type": "modify",
      "old_id": "fd2f25a42507b0ba32d182e467c24a101533d61d",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_structtree_embeddertest.cpp",
      "new_id": "3417654c2abedf18f3da7dd3a5a5a0afc427d6a0",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_structtree_embeddertest.cpp"
    },
    {
      "type": "modify",
      "old_id": "38fc5250bcb4b1e6ca38043a400421787a67bc27",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_view_c_api_test.c",
      "new_id": "9f0e2da329a0f3c1003f6264cb6a49a3eb3a5b71",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_view_c_api_test.c"
    },
    {
      "type": "modify",
      "old_id": "2de41afcf7b4ffd79fbc4700e5a207769bb08502",
      "old_mode": 33188,
      "old_path": "public/fpdf_structtree.h",
      "new_id": "2bc2dc6837f0137995c28acb914266596f97119e",
      "new_mode": 33188,
      "new_path": "public/fpdf_structtree.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a8ea64bb8547a69787f99a97447897572f8d24cc",
      "new_mode": 33188,
      "new_path": "testing/resources/tagged_marked_content.in"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "92f731d3d789c84746a19c7b94a47d4b314a4152",
      "new_mode": 33188,
      "new_path": "testing/resources/tagged_marked_content.pdf"
    }
  ]
}
