)]}'
{
  "commit": "f7c943b83aa9161065efd7693571ba030d1d1c11",
  "tree": "0ffbd5f072bd8c7ec804225ac3ece7d9df9b014f",
  "parents": [
    "83d503bc728e8a42d500727f3982de21c02f406b"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Thu Mar 12 19:20:32 2020 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Thu Mar 12 19:20:32 2020 +0000"
  },
  "message": "Remove unnecessary CheckedNumeric usage in CPDF_DataAvail.\n\nIn several places inside CPDF_DataAvail, the code needs to make sure the\nuint32_t page number parameter can be safely converted into a signed\nint. Combining CheckedNumeric and checked_cast() to do this does not\nmake sense, because checked_cast() already crashes on failure, so\nCheckedNumeric would never have the opportunity to do anything\ninteresting. Just replace the CheckedNumeric variables with ints to\nsimplify the code.\n\nChange-Id: If9af2f94cb9bda7f68e5fd049ac63305302f7b4b\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/67391\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "457ae61c4cf254ccb08639e6766a6575926218a3",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/parser/cpdf_data_avail.cpp",
      "new_id": "38b363db1db507b7a2121ace1085e8ab7562001e",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/parser/cpdf_data_avail.cpp"
    }
  ]
}
