)]}'
{
  "commit": "f3131ebc4fbb4e6511ee14225057ab1d062ff525",
  "tree": "5c67d4e305bcf5fede75744e43faa9489ef71fad",
  "parents": [
    "e386b83c7d0a381ab0709598825b4077c9745c82"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Thu Jan 23 20:01:29 2020 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Thu Jan 23 20:01:29 2020 +0000"
  },
  "message": "Simplify operations involving |CPDF_TextPage::m_CharIndex|.\n\n- Avoid using an int to index into the vector.\n- Remove checks for negative indices that cannot happen.\n- Use size(), empty() and back() where appropriate.\n- Make calculations in TextIndexFromCharIndex() simpler.\n\nChange-Id: I97057a6017711dcce8afc57a8fdb08f23d405d6d\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/65414\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4bda0870b21cb60d22cfcf6e54faff2c9d986059",
      "old_mode": 33188,
      "old_path": "core/fpdftext/cpdf_textpage.cpp",
      "new_id": "260b1015680c947d8b1ebc63f0b188e71036a0cf",
      "new_mode": 33188,
      "new_path": "core/fpdftext/cpdf_textpage.cpp"
    },
    {
      "type": "modify",
      "old_id": "b4e11d11ca5f14cb96d502614e6507b36ffa1dc3",
      "old_mode": 33188,
      "old_path": "core/fpdftext/cpdf_textpage.h",
      "new_id": "cd5c13da18a77d8d2e0cdb0e7a88f51b93efec1c",
      "new_mode": 33188,
      "new_path": "core/fpdftext/cpdf_textpage.h"
    }
  ]
}
