)]}'
{
  "commit": "90a11ba0668e57ccee06a4f5f3d6f12504bec1a7",
  "tree": "e33a5f81c839f4b544b5d5ba5dea2970f6eae1fe",
  "parents": [
    "cc2228033fb3dc763628c9982d3420582e8d624c"
  ],
  "author": {
    "name": "Alan Screen",
    "email": "awscreen@chromium.org",
    "time": "Wed Nov 20 16:32:31 2019 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Wed Nov 20 16:32:31 2019 +0000"
  },
  "message": "Use PDF page base clip for Win32 rendering\n\nIntroduce a base clip for a PDF page.  This base clip is the same as the\ninitial clip rectangle that is created when rendering for a page is\nstarted; it is now also remembered for later use.\n\nUtilize this base clip for rendering with the Win32 device.  This\nprovides extra protection in some cases against otherwise valid clip\npaths for which the coordinates are so large that they trigger errors\nwhen used with the Windows GDI API.\n\nIt is not easy to apply this in all cases since some paths could be\nimpacted by clipping too early (e.g., if applying it affected fill\nmode for complicated paths), and such paths are provided straight to\nGDI.  Start with an initial easy fix of applying this clip against\nrectangular paths, which resolves an issue seen from at least one PDF\ngenerated by Microsoft Word that had a rectangular clip extending\nhundreds of millions of pixels beyond the page boundaries, having no\neffective use yet was triggering coordinate issues and causing images to\nbe erroneously discarded.\n\nBug: chromium:1019026\nChange-Id: I2c5e6e1cd6444b8d4357bd812453d89eabf1ab81\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/62353\nCommit-Queue: Alan Screen \u003cawscreen@chromium.org\u003e\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fdfdd6aa1d506f13a48dd1a1c26347440eac0b93",
      "old_mode": 33188,
      "old_path": "core/fxge/cfx_renderdevice.cpp",
      "new_id": "b1474c5e7e28f7f818858c9eb4148a3a1d61464b",
      "new_mode": 33188,
      "new_path": "core/fxge/cfx_renderdevice.cpp"
    },
    {
      "type": "modify",
      "old_id": "b8d92217fc38e27c3f41c7e0c8a0da642ee8be31",
      "old_mode": 33188,
      "old_path": "core/fxge/cfx_renderdevice.h",
      "new_id": "755f445321436dcf8cc7adf861882375c828e36f",
      "new_mode": 33188,
      "new_path": "core/fxge/cfx_renderdevice.h"
    },
    {
      "type": "modify",
      "old_id": "acb81d614361fec7c0f671071f152a263e6aac85",
      "old_mode": 33188,
      "old_path": "core/fxge/renderdevicedriver_iface.cpp",
      "new_id": "f8fcccf68d003cf7784b11e89df1cc38f4c7a3f0",
      "new_mode": 33188,
      "new_path": "core/fxge/renderdevicedriver_iface.cpp"
    },
    {
      "type": "modify",
      "old_id": "7524f90ab2950131869454a125b8dcaabb268ade",
      "old_mode": 33188,
      "old_path": "core/fxge/renderdevicedriver_iface.h",
      "new_id": "69e404b70f20f9807ae16ad829ed1a1ff379f50c",
      "new_mode": 33188,
      "new_path": "core/fxge/renderdevicedriver_iface.h"
    },
    {
      "type": "modify",
      "old_id": "80b9d36256deb1d17eb7bd92376f83dbb6dab83f",
      "old_mode": 33188,
      "old_path": "core/fxge/win32/fx_win32_device.cpp",
      "new_id": "bb13a760219c5539247998ed7e056ca94a764fab",
      "new_mode": 33188,
      "new_path": "core/fxge/win32/fx_win32_device.cpp"
    },
    {
      "type": "modify",
      "old_id": "91daa20c95564daab57089528c2118ba47967e00",
      "old_mode": 33188,
      "old_path": "core/fxge/win32/fx_win32_device_embeddertest.cpp",
      "new_id": "cb088e7585877c299ba0b54f7fb1a1496f88ceab",
      "new_mode": 33188,
      "new_path": "core/fxge/win32/fx_win32_device_embeddertest.cpp"
    },
    {
      "type": "modify",
      "old_id": "77d746e449cd295b04f1a31c31ed39bf60c68e42",
      "old_mode": 33188,
      "old_path": "core/fxge/win32/win32_int.h",
      "new_id": "7f299ef92537bfbd2d03e8af00bed5d33e52268f",
      "new_mode": 33188,
      "new_path": "core/fxge/win32/win32_int.h"
    },
    {
      "type": "modify",
      "old_id": "a73555421b8bd36f24bfcbba86cf7bd6820121fb",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_view.cpp",
      "new_id": "a4a70f41acf55138e6a400f045e1dd04db699f50",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_view.cpp"
    }
  ]
}
