)]}'
{
  "commit": "c160069648cade1dc45ff85efa21704a6cf6d897",
  "tree": "88242008a95c42b61c606a1ad1519f3ca8982a20",
  "parents": [
    "e1ea608510873331b52131330bff352c6d6e4ae7"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Wed Nov 14 23:12:58 2018 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Wed Nov 14 23:12:58 2018 +0000"
  },
  "message": "Avoid writing out empty streams in CPDF_Stream::WriteTo().\n\nDo not call CFX_FileBufferArchive::WriteBlock() with no data to write\nout to avoid an ASSERT() failure. Although\nCFX_FileBufferArchive::WriteBlock() can handle no data just fine, it is\nan IFX_WriteStream::WriteBlock() implementation and not all\nIFX_WriteStream::WriteBlock() implementations can handle no data.\n\nBUG\u003dchromium:905142\n\nChange-Id: Icef8460443a9363526679261aac0c1ef74bccec4\nReviewed-on: https://pdfium-review.googlesource.com/c/45531\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "11ea67e77662806f00cc7597710b7519c511b0c2",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/parser/cpdf_stream.cpp",
      "new_id": "db38c41e3e6f6d980f13593d5110537592f5785c",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/parser/cpdf_stream.cpp"
    },
    {
      "type": "modify",
      "old_id": "510660ee82c9022ccd933b9c07d6a6d2f5665925",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_save_embeddertest.cpp",
      "new_id": "46d165c29ca14e16d2609d39a1333407f69c54a7",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_save_embeddertest.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d37f68f4ff910517ff64323bb4fc1cc93492eba0",
      "new_mode": 33188,
      "new_path": "testing/resources/bug_905142.in"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9f2898fac634e2ede3b70f83c5cd371169e072f9",
      "new_mode": 33188,
      "new_path": "testing/resources/bug_905142.pdf"
    }
  ]
}
