)]}'
{
  "commit": "a4a67f6f853b6494933fa55d985eb31853bfb5c4",
  "tree": "33e651b097f6f4cb0f48636c687bd02c29c7318f",
  "parents": [
    "1d46eca126c80542651d41036dec6b3ecbedfaae"
  ],
  "author": {
    "name": "Lokbondo Kung",
    "email": "lokokung@google.com",
    "time": "Tue Jul 22 23:49:29 2025 -0700"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Jul 22 23:49:29 2025 -0700"
  },
  "message": "[dawn][native] Simplifies DeviceGuard with DeviceMutex.\n\n- Moves the defer object to be a part of the DeviceMutex instead of\n  the Device. This allows for simplifying cases where the device\n  might be destroyed since the Defer now lives with the DeviceMutex\n  on the additional Ref that it holds.\n- This change also moves the code in Mutex around a bit so that the\n  calls to Lock and Unlock are the ones responsible for updating\n  state used for ASSERT checks. This is necessary to later expose\n  private Lock/Unlock helpers in the Device class to implement\n  unlocking before calling WaitFor* functions.\n\nBug: 412761228\nInclude-Ci-Only-Tests: true\nChange-Id: I4cff7b7721c2b76d98671dce47818d1aa2017e90\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/253675\nReviewed-by: Kai Ninomiya \u003ckainino@chromium.org\u003e\nReviewed-by: Corentin Wallez \u003ccwallez@chromium.org\u003e\nCommit-Queue: Loko Kung \u003clokokung@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "03f99976e7c4c484930038b74965338eeb298a96",
      "old_mode": 33188,
      "old_path": "src/dawn/common/Mutex.h",
      "new_id": "fff1c1f885da407d4a92403465abf7c43742474c",
      "new_mode": 33188,
      "new_path": "src/dawn/common/Mutex.h"
    },
    {
      "type": "modify",
      "old_id": "c01feda3aabe01d3d4fde23683c00ec19529b7f7",
      "old_mode": 33188,
      "old_path": "src/dawn/native/Device.cpp",
      "new_id": "f603992673bb86aaa7e6361483a7ae925834f54f",
      "new_mode": 33188,
      "new_path": "src/dawn/native/Device.cpp"
    },
    {
      "type": "modify",
      "old_id": "487b5f42315f97da5b70ebba9bb6aafb1868263c",
      "old_mode": 33188,
      "old_path": "src/dawn/native/Device.h",
      "new_id": "71f44579f42fe443ac7a2e64cc9037685d9269fd",
      "new_mode": 33188,
      "new_path": "src/dawn/native/Device.h"
    },
    {
      "type": "modify",
      "old_id": "3b7f7ecfeb20ddf75740a1b6968c666836ccb352",
      "old_mode": 33188,
      "old_path": "src/dawn/native/DeviceGuard.cpp",
      "new_id": "641e32f49925596b2a95707d288774541d1739ea",
      "new_mode": 33188,
      "new_path": "src/dawn/native/DeviceGuard.cpp"
    },
    {
      "type": "modify",
      "old_id": "f392e66a0b350d635c188b093e32310eafe435ee",
      "old_mode": 33188,
      "old_path": "src/dawn/native/DeviceGuard.h",
      "new_id": "fb71d07da46348510e78b0f178750f24c70a5af6",
      "new_mode": 33188,
      "new_path": "src/dawn/native/DeviceGuard.h"
    }
  ]
}
