)]}'
{
  "commit": "a2188df09255b49ad41a89ae9b5de640d0b03126",
  "tree": "e8fb878b806b96d795a30206347669e709ee29bf",
  "parents": [
    "7558414b8aa1d14ce02e360dd88e4f421cee8725"
  ],
  "author": {
    "name": "Ryan Harrison",
    "email": "rharrison@chromium.org",
    "time": "Fri Sep 01 15:11:12 2017 -0400"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Fri Sep 01 19:23:04 2017 +0000"
  },
  "message": "Cleanup usages of Mid(foo, 1), Right(1), and Left(1)\n\nMid(foo, 1) is equivalent to [foo], if all you want is the character. Similarly\nLeft(1) is [0]. It is faster also, since it does not need to create intermediate\nstrings.\n\nRight(1) is a touch more tricky, since it requires something like GetLength() ?\n[GetLength() - 1] : 0;. A new method, Last() has been added to perform this\ncharacter extraction.\n\nMultiple call sites have been updated to use more efficient/simpler\nsyntax. There are a number of call sites that use on these patterns, but based\non the surrounding context we actually need/want a string, so they have not been\nmodified.\n\nChange-Id: I485a7f9c7b34c9bdacecada610158f996816afdd\nReviewed-on: https://pdfium-review.googlesource.com/12890\nCommit-Queue: Ryan Harrison \u003crharrison@chromium.org\u003e\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "659139f687b922f49c0e59d8f415ddef436b3a29",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/font/cpdf_cmap.cpp",
      "new_id": "0d3745e44a486a9d960a41aaf443d3f5576acb9a",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/font/cpdf_cmap.cpp"
    },
    {
      "type": "modify",
      "old_id": "a47b5f89aba53ef6b1533d31df988ba9d5f7b9ef",
      "old_mode": 33188,
      "old_path": "core/fxcrt/cfx_bytestring.h",
      "new_id": "261060bda0663715b3b360db9b3f4b10dd4b96d4",
      "new_mode": 33188,
      "new_path": "core/fxcrt/cfx_bytestring.h"
    },
    {
      "type": "modify",
      "old_id": "c46b0c4671b67f7a067905dedbf5264b11c1eefb",
      "old_mode": 33188,
      "old_path": "core/fxcrt/cfx_string_c_template.h",
      "new_id": "6bc71d853d450aa847670d86c855974922a0a712",
      "new_mode": 33188,
      "new_path": "core/fxcrt/cfx_string_c_template.h"
    },
    {
      "type": "modify",
      "old_id": "242138853b4d793720b8e2c4e8e19c932742eba8",
      "old_mode": 33188,
      "old_path": "core/fxcrt/cfx_widestring.h",
      "new_id": "100fec6706b8b0156a121f5b2a3bd1ea993bd26f",
      "new_mode": 33188,
      "new_path": "core/fxcrt/cfx_widestring.h"
    },
    {
      "type": "modify",
      "old_id": "8b8b413c9bcee6726574c53873b2aca3fdc72d52",
      "old_mode": 33188,
      "old_path": "fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
      "new_id": "d2f40dd060a59a143dfcfc900d563a89a0f2a7e7",
      "new_mode": 33188,
      "new_path": "fxbarcode/datamatrix/BC_HighLevelEncoder.cpp"
    },
    {
      "type": "modify",
      "old_id": "6d8d51d495f201cfa4d3b12d97d11631982e4cff",
      "old_mode": 33188,
      "old_path": "fxbarcode/oned/BC_OnedEAN13Writer.cpp",
      "new_id": "dddb9cc24d59efcf391e5e4fbdef069188f96534",
      "new_mode": 33188,
      "new_path": "fxbarcode/oned/BC_OnedEAN13Writer.cpp"
    },
    {
      "type": "modify",
      "old_id": "6810e9e285dee9452bc8a8aea822a5f6261778cd",
      "old_mode": 33188,
      "old_path": "fxbarcode/oned/BC_OnedEAN8Writer.cpp",
      "new_id": "3fcb1e8350d584b50b02fb388ad87d4fcfe27117",
      "new_mode": 33188,
      "new_path": "fxbarcode/oned/BC_OnedEAN8Writer.cpp"
    },
    {
      "type": "modify",
      "old_id": "5782fe4e1a42d537dd464791689c2bd597d70066",
      "old_mode": 33188,
      "old_path": "fxbarcode/oned/BC_OnedUPCAWriter.cpp",
      "new_id": "fac4a1b0a3cdb02661252f71ca5e27fd8e26e480",
      "new_mode": 33188,
      "new_path": "fxbarcode/oned/BC_OnedUPCAWriter.cpp"
    },
    {
      "type": "modify",
      "old_id": "b02efbb45dabc3e6282da9709a2adb1e66b14ff1",
      "old_mode": 33188,
      "old_path": "xfa/fxfa/parser/cxfa_layoutpagemgr.cpp",
      "new_id": "b80100a5f026cc2061e0b0e7bdf8bef4f5ac2d23",
      "new_mode": 33188,
      "new_path": "xfa/fxfa/parser/cxfa_layoutpagemgr.cpp"
    },
    {
      "type": "modify",
      "old_id": "fe4605b4f0b2ce5f7a0ba0a6940e9e420179f88a",
      "old_mode": 33188,
      "old_path": "xfa/fxfa/parser/cxfa_resolveprocessor.cpp",
      "new_id": "15c3f14b23e86baa85f58c355a73177f171622a8",
      "new_mode": 33188,
      "new_path": "xfa/fxfa/parser/cxfa_resolveprocessor.cpp"
    }
  ]
}
