)]}'
{
  "commit": "97de2fef04ef1ead2e6553c7259e9fc16d3c1200",
  "tree": "fa816477c42455dbed986f17d6dd4ccc34fc685d",
  "parents": [
    "538d6b73e2855d4616f7faa2557d4091e58b8301"
  ],
  "author": {
    "name": "Sunggook Chue",
    "email": "sunggch@microsoft.com",
    "time": "Fri Mar 21 18:36:32 2025"
  },
  "committer": {
    "name": "WebRTC LUCI CQ",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Mar 25 23:53:49 2025"
  },
  "message": "Fix crash during screen capture using WGC on Windows\n\nWgcCaptureSession::WgcCaptureSession previously assumed the input\nsource ID would never be 0, based on the expectation that it only\ncaptures windows where the source ID is an HWND, which is non-zero.\n\nHowever, Chromium also uses WgcCaptureSession for screen capture,\nwhere the source ID is a 0-based index.\n\nThis change removes the incorrect source index check. Instead,\nit evaluates whether the source index refers to a window or a screen\nand uses the appropriate monitor retrieval API in the ProcessFrame() method.\n\nBug: chromium:404887529\nChange-Id: I43e3b77b8d2c46fd201cc178113a9860aadba921\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/382101\nReviewed-by: Ilya Nikolaevskiy \u003cilnik@webrtc.org\u003e\nReviewed-by: Palak Agarwal \u003cagpalak@google.com\u003e\nCommit-Queue: Sunggook Chue \u003csunggch@microsoft.com\u003e\nCr-Commit-Position: refs/heads/main@{#44221}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "03e9f52a4cc48abe8fe58c1ee6c3eef842eab6b2",
      "old_mode": 33188,
      "old_path": "modules/desktop_capture/win/wgc_capture_session.cc",
      "new_id": "bcdd3651893ecdd10cc446e8ff7e5891caa7ec7b",
      "new_mode": 33188,
      "new_path": "modules/desktop_capture/win/wgc_capture_session.cc"
    },
    {
      "type": "modify",
      "old_id": "f6c42673edf694c302bbdf63d575776b0b058693",
      "old_mode": 33188,
      "old_path": "modules/desktop_capture/win/wgc_capture_session.h",
      "new_id": "5d3f0569452237c9821e62f48a6ce0680d53962a",
      "new_mode": 33188,
      "new_path": "modules/desktop_capture/win/wgc_capture_session.h"
    }
  ]
}
