)]}'
{
  "commit": "7403f8a2a0d87179a1ccd57ceccd2d84fa59c319",
  "tree": "c50f211d8efca99e9ec17733a776fca854c3f78c",
  "parents": [
    "05259e98f7416b59da18ee6059b48a23fddca8af"
  ],
  "author": {
    "name": "dsinclair",
    "email": "dsinclair@chromium.org",
    "time": "Thu Oct 20 10:58:52 2016 -0700"
  },
  "committer": {
    "name": "Commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Thu Oct 20 10:58:52 2016 -0700"
  },
  "message": "Revert of Traverse PDF page tree only once in CPDF_Document (patchset #4 id:60001 of https://codereview.chromium.org/2414423002/ )\n\nReason for revert:\nPossible cause of crbug.com/657897 reverting to find out.\n\nBUG\u003d657897\n\nOriginal issue\u0027s description:\n\u003e Traverse PDF page tree only once in CPDF_Document\n\u003e\n\u003e In our current implementation of CPDF_Document::GetPage, we traverse\n\u003e the PDF page tree until we find the index we are looking for. This is\n\u003e slow when we do calls GetPage(0), GetPage(1), ... since in this case\n\u003e the page tree will be traversed n times if there are n pages. This CL\n\u003e makes sure the page tree is only traversed once.\n\u003e\n\u003e Time to load the PDF from the bug below in chrome official build:\n\u003e Before this CL: 1 minute 40 seconds\n\u003e After this CL: 5 seconds\n\u003e\n\u003e BUG\u003dchromium:638513\n\u003e\n\u003e Committed: https://pdfium.googlesource.com/pdfium/+/7c29e27dae139a205755c1a29b7f3ac8b36ec0da\n\nTBR\u003dthestig@chromium.org,tsepez@chromium.org,npm@chromium.org\n# Not skipping CQ checks because original CL landed more than 1 days ago.\nBUG\u003dchromium:638513\n\nReview-Url: https://chromiumcodereview.appspot.com/2430313006\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ba20ff622395b76e3d1a1321cb5febabb862b92a",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/parser/cpdf_document.cpp",
      "new_id": "c5f64a790ca1d31f6cb4357f5a01b18d6b0585e1",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/parser/cpdf_document.cpp"
    },
    {
      "type": "modify",
      "old_id": "e845ea8eeff7f24e755d3a17f978724311d596fb",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/parser/cpdf_document.h",
      "new_id": "c557a56013f71da4dc7106ad5faa97eb154c56ae",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/parser/cpdf_document.h"
    }
  ]
}
