)]}'
{
  "commit": "10fb89e3179bb7443e66911eb3c795c7aaf022e5",
  "tree": "c2c7e491b975ba232d5cfccdf222e0d5605b38f2",
  "parents": [
    "7c1377424ea94d1b15d6fd3d1bf3356617d1c228"
  ],
  "author": {
    "name": "Lokbondo Kung",
    "email": "lokokung@google.com",
    "time": "Mon Mar 30 11:50:53 2026 -0700"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Mar 30 11:50:53 2026 -0700"
  },
  "message": "[M146] [dawn][native] Updates AsyncTasks to remove need of WaitableEvent.\n\n- Previously, the WaitableEvent and how it was being handled caused a\n  UAF as per the bug below. This change simplifies the logic in the\n  AsyncTasks to remove the WaitableEvent entirely, and get rid of the\n  need of the intermediate WaitableTask struct that we used to pair\n  the AsyncTask to it\u0027s manager. Since we know that the task\u0027s\n  manager must be the one that created it, we can track that\n  information at construction and use it directly later on.\n- This change also updates the AsyncTask to use MutexCondVarProtected\n  for synchronization.\n\nBug: 493900619\nChange-Id: I45da53638727ac86d60e9ffd317ad342fced3174\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/299315\nReviewed-by: Geoff Lang \u003cgeofflang@chromium.org\u003e\nCommit-Queue: Loko Kung \u003clokokung@google.com\u003e\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/299955\nAuto-Submit: Loko Kung \u003clokokung@google.com\u003e\nCommit-Queue: Geoff Lang \u003cgeofflang@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "177dceb6af5c7c3177db329335731f8726244893",
      "old_mode": 33188,
      "old_path": "src/dawn/native/AsyncTask.cpp",
      "new_id": "272b33ef210a1cf1f39c8e08ce31692ccbd3673a",
      "new_mode": 33188,
      "new_path": "src/dawn/native/AsyncTask.cpp"
    },
    {
      "type": "modify",
      "old_id": "2aefa513e7ad1ec3dbe49d1c29f444e9a814d3bb",
      "old_mode": 33188,
      "old_path": "src/dawn/native/AsyncTask.h",
      "new_id": "133c81601a54278160816305658e2d79f2503549",
      "new_mode": 33188,
      "new_path": "src/dawn/native/AsyncTask.h"
    },
    {
      "type": "modify",
      "old_id": "7f7df8048eda97ebf516073749535f22bc3a7575",
      "old_mode": 33188,
      "old_path": "src/dawn/native/Device.cpp",
      "new_id": "6a4c9ac24b874cd10d9b351cf8a42192b52c86f9",
      "new_mode": 33188,
      "new_path": "src/dawn/native/Device.cpp"
    },
    {
      "type": "modify",
      "old_id": "8f0661dced07de1e4bdd946be253343932ffdc77",
      "old_mode": 33188,
      "old_path": "src/dawn/tests/unittests/AsyncTaskTests.cpp",
      "new_id": "2935e468984c82fe5487164a5d33f89da068db79",
      "new_mode": 33188,
      "new_path": "src/dawn/tests/unittests/AsyncTaskTests.cpp"
    }
  ]
}
