)]}'
{
  "commit": "bce6b1bf42fb41e935f173fb28371a949ea7e73e",
  "tree": "16db6e1aa4b3143e2ec92f5aeeda71ab666b47ed",
  "parents": [
    "bc36bade1e160e34415fa445ba456e56ab69336b"
  ],
  "author": {
    "name": "Cliff Smolinsky",
    "email": "cliffsmo@microsoft.com",
    "time": "Sat Mar 30 04:43:41 2019 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Sat Mar 30 04:43:41 2019 +0000"
  },
  "message": "Update IsGdiAvailable to check for Win32k lockdown\n\nIf GDI is truly not enabled there should be no guarantee that calling a\nGDI method can actually work in any fashion. If gdi32.dll is\ndelayloaded, for example, calling into it can cause unnecessary loading\nand isn\u0027t a good practice for something that can\u0027t be used anyway. This\nchange updates IsGdiAvailable to check for Win32k lockdown in the same\nway that it is done in the Chromium codebase in\nbase::win::IsUser32AndGdi32Available().\n\nBug: pdfium:1278\nChange-Id: Ia448e447470a76c65b44bd966b3e7fc108b9524a\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/52570\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "90d1d45e8da608e37a93a2aff29d28ea63543489",
      "old_mode": 33188,
      "old_path": "core/fxge/win32/fx_win32_device.cpp",
      "new_id": "9c948e72f5a34fa739f3bce8c7cf1c55a213af91",
      "new_mode": 33188,
      "new_path": "core/fxge/win32/fx_win32_device.cpp"
    },
    {
      "type": "modify",
      "old_id": "51fd0cac4faffcbd0aa283a68a57cf5047c0c830",
      "old_mode": 33188,
      "old_path": "third_party/BUILD.gn",
      "new_id": "3863ad2f8b06f60ef35b00681833c3c34a101d8a",
      "new_mode": 33188,
      "new_path": "third_party/BUILD.gn"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9c90b9d622523f9c9fca4f80b5b28debe3ab131c",
      "new_mode": 33188,
      "new_path": "third_party/base/win/win_util.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a5c60278d8bdca657953fd5752df7eeee4b2c13e",
      "new_mode": 33188,
      "new_path": "third_party/base/win/win_util.h"
    }
  ]
}
