)]}'
{
  "commit": "f86f81aa33dabb615273492885aa9de76a6ccf68",
  "tree": "30ecf0e010b28e2fde9446bf22459334b40f9863",
  "parents": [
    "d021c9f3296d11b40a2a37303dc36437844bdf27"
  ],
  "author": {
    "name": "Alan Screen",
    "email": "awscreen@chromium.org",
    "time": "Fri Nov 15 23:43:18 2019 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Fri Nov 15 23:43:18 2019 +0000"
  },
  "message": "Add initial tests for SetClip_PathFill()\n\nDebugging for imaging issue in [1] revealed unexpected bad behavior\ncoming out of Windows GDI API.  Microsoft documentation [2] indicates\nthat if a bad clip is provided (e.g., cause an error with\nIntersectClipRect()) then the current clipping region should be\nunaffected. The disappearance of images has shown that this isn\u0027t\nnecessarily true in all cases, and is something to be avoided.\n\nUpdate CGdiDeviceDriver::SetClip_PathFill() to watch for an error\ncondition from IntersectClipRect() and return failure if it happens.\n\nAdd some new tests for this including to illustrate triggering this\nGDI condition.\n\n[1] https://crbug.com/1019026\n[2] https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-intersectcliprect\n\nBug: chromium:1019026\nChange-Id: I336617399bf90b511de5d6fbecf3da829fbe4de6\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/62470\nCommit-Queue: Alan Screen \u003cawscreen@chromium.org\u003e\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b2a1a1c621b3d9a8adfb9bc7bc77afa44b333fb0",
      "old_mode": 33188,
      "old_path": "core/fxge/BUILD.gn",
      "new_id": "ad47e0ad3606157a0554ecfe19c5dac180065206",
      "new_mode": 33188,
      "new_path": "core/fxge/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "4f20d687ff1fa3adf1b456460c8844e1e1b1cf39",
      "old_mode": 33188,
      "old_path": "core/fxge/win32/fx_win32_device.cpp",
      "new_id": "80b9d36256deb1d17eb7bd92376f83dbb6dab83f",
      "new_mode": 33188,
      "new_path": "core/fxge/win32/fx_win32_device.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "91daa20c95564daab57089528c2118ba47967e00",
      "new_mode": 33188,
      "new_path": "core/fxge/win32/fx_win32_device_embeddertest.cpp"
    }
  ]
}
