)]}'
{
  "commit": "7ea611fb82308b4b8f9dc150a9d79334435c53b6",
  "tree": "de7b509e8d036d47c6cf3e49394f98ca198bfd92",
  "parents": [
    "6fc8d877d7450905623c6abb1094ab99f5bd80cb"
  ],
  "author": {
    "name": "Ryan Harrison",
    "email": "rharrison@chromium.org",
    "time": "Tue Sep 18 17:50:35 2018 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Tue Sep 18 17:50:35 2018 +0000"
  },
  "message": "Transfer ownership of nodes to top-level XML doc\n\nFor XFA, XML nodes are owned by the XML doc that they were created by,\nbut references to them are stored elsewhere. For a PDF document there\nis one top-level XML document created and retained when the initial\nXFA XML is parsed. Another can be created if loadXML is called by\nJS. In the existing code the XML doc that owns the newly created nodes\nis local to loadXML. So the nodes are destroyed right after putting\nrefernces to them into the main XFA data structures.\n\nThis CL adds in a method to transfer ownership of the XML nodes from\none doc to another, and uses it to correctly retain the newly created\nnodes, by having them owned by the top-level XML doc.\n\nBUG\u003dchromium:884664\n\nChange-Id: Id29b4edbfe44aefb9713328e4e217e830f7e9e14\nReviewed-on: https://pdfium-review.googlesource.com/42690\nReviewed-by: Henrique Nakashima \u003chnakashima@chromium.org\u003e\nCommit-Queue: Ryan Harrison \u003crharrison@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f6e55551ede2cb2ee90b70faa7d024c790929848",
      "old_mode": 33188,
      "old_path": "core/fxcrt/xml/cfx_xmldocument.cpp",
      "new_id": "5ce4aed694bd37f41a6c194fdb6eb156e14fd604",
      "new_mode": 33188,
      "new_path": "core/fxcrt/xml/cfx_xmldocument.cpp"
    },
    {
      "type": "modify",
      "old_id": "a568f8390fe031b2761a237b4d16b85cf7cbf537",
      "old_mode": 33188,
      "old_path": "core/fxcrt/xml/cfx_xmldocument.h",
      "new_id": "7d6f02b48df785aadefe5deca98bbe4d22f7ae44",
      "new_mode": 33188,
      "new_path": "core/fxcrt/xml/cfx_xmldocument.h"
    },
    {
      "type": "modify",
      "old_id": "8876628c3b347204e08a4da0c57ce918b0332944",
      "old_mode": 33188,
      "old_path": "fxjs/xfa/cjx_node.cpp",
      "new_id": "49cd041c8892ce13fb0a2549cc8a6a3b9b6c6bcf",
      "new_mode": 33188,
      "new_path": "fxjs/xfa/cjx_node.cpp"
    }
  ]
}
