)]}'
{
  "commit": "00d6215be9c8287d697b7cc3c9e2f7d2b3f0a68d",
  "tree": "0f9e6c15ca1af001b4645d1f81923f26e0dba1c2",
  "parents": [
    "2f616dd108b07d53ec2273cfc37670a29236f3bb"
  ],
  "author": {
    "name": "Corentin Wallez",
    "email": "cwallez@chromium.org",
    "time": "Tue Jun 30 18:39:50 2020 +0000"
  },
  "committer": {
    "name": "Commit Bot service account",
    "email": "commit-bot@chromium.org",
    "time": "Tue Jun 30 18:39:50 2020 +0000"
  },
  "message": "dawn_wire/client: Add ToAPI and FromAPI helpers.\n\nIn the client code, we often need to translate between WGPUObject (the\nAPI type) to Object* (the internal client type). This added a bunch of\nreinterpret_casts that make the code less readable and more fragile.\n\nThis CL adds FromAPI and ToAPI helpers in the autogenerated\nApiObjects_autogen.h header, that convert between API and internal types\nin a type-safe way.\n\nBug: dawn:445\n\nChange-Id: Ia1bf624f0315ced496b95cb660adf88abd916d71\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24063\nCommit-Queue: Corentin Wallez \u003ccwallez@chromium.org\u003e\nReviewed-by: Stephen White \u003csenorblanco@chromium.org\u003e\nReviewed-by: Austin Eng \u003cenga@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5c2ae3f613ce5698ee73732ada1fe3c4aae6d5bd",
      "old_mode": 33188,
      "old_path": "generator/templates/dawn_wire/client/ApiObjects.h",
      "new_id": "288c7004de108ff2081f403dc6ce55ce39c81109",
      "new_mode": 33188,
      "new_path": "generator/templates/dawn_wire/client/ApiObjects.h"
    },
    {
      "type": "modify",
      "old_id": "0b4889e1305219d20f62d7e8224dc1e76b288d92",
      "old_mode": 33188,
      "old_path": "src/dawn_wire/client/Buffer.cpp",
      "new_id": "993b2b2e9af3216a8ade37ae7035eb68d6a64cc0",
      "new_mode": 33188,
      "new_path": "src/dawn_wire/client/Buffer.cpp"
    },
    {
      "type": "modify",
      "old_id": "1953347f44c2838ea4af0e38a86cb7a8e9e7385a",
      "old_mode": 33188,
      "old_path": "src/dawn_wire/client/Client.cpp",
      "new_id": "ab96743a6f45c1ee0c44d5f195f35bb859b9b107",
      "new_mode": 33188,
      "new_path": "src/dawn_wire/client/Client.cpp"
    },
    {
      "type": "modify",
      "old_id": "4df6226e09defcb5a17ddb9811bd06557ef00de1",
      "old_mode": 33188,
      "old_path": "src/dawn_wire/client/Device.cpp",
      "new_id": "ce8aec45f4b7babb6b1629310920a153ec0d05ca",
      "new_mode": 33188,
      "new_path": "src/dawn_wire/client/Device.cpp"
    },
    {
      "type": "modify",
      "old_id": "f515f52380a4c9c626116b6ba2148b7b6f5812d0",
      "old_mode": 33188,
      "old_path": "src/dawn_wire/client/Queue.cpp",
      "new_id": "902aac80eff9fa69c473c1aad46544eb3b2f4177",
      "new_mode": 33188,
      "new_path": "src/dawn_wire/client/Queue.cpp"
    }
  ]
}
