)]}'
{
  "commit": "bfa3a7cf2cf68c8fcbb4ac7f2cfd45b37185cf0e",
  "tree": "7dc45abced92fd33b49f09d818e0b4744eec69f1",
  "parents": [
    "0e97af8ad77deef5e59ec414e3471ac655a00acb"
  ],
  "author": {
    "name": "Stefan Smolen",
    "email": "ssmole@microsoft.com",
    "time": "Sat Mar 09 05:49:45 2024 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Sat Mar 09 05:49:45 2024 +0000"
  },
  "message": "Gate GDI APIs behind IsUser32AndGdi32Available in cfgas_fontmgr.cpp\n\nUnder win32k lockdown, which is detectable using the\nIsUser32AndGdi32Available helper function and used in chromium renderer\nand service sandboxes, APIs which call into win32k.sys like GetDC,\nEnumFontFamiliesExW, ReleaseDC will no-op in the kernel and fail or\nreturn no data.\n\nWe\u0027re planning make chromium changes that will cause the DLLs hosting\nthese APIs to fail to load (and crash in the delayload runtime) under\nwin32k lockdown, adding these if checks will prevent us from trying to\nload the dlls.\n\nLocally validated we no longer see test failures seen in some of the\nchromium PDF browser tests when \u0027WinSboxNoFakeGdiInit\u0027 chromium\nfeature is enabled.\n\nBug: pdfium:2140\nChange-Id: Ibc9a243cd7e2625ebc6e0553400e83fc07464bfc\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/117353\nReviewed-by: Thomas Sepez \u003ctsepez@google.com\u003e\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "242ce6ea1e7f429d572fa1e90aad710264c7a328",
      "old_mode": 33188,
      "old_path": "xfa/fgas/font/cfgas_fontmgr.cpp",
      "new_id": "28d46fc05b8695fad18029a5777404964052a376",
      "new_mode": 33188,
      "new_path": "xfa/fgas/font/cfgas_fontmgr.cpp"
    }
  ]
}
