Commit 66d5723e authored by Jinho Bang's avatar Jinho Bang Committed by Commit Bot

WebGPU: Add [SameObject] to several more attributes

Spec change:
  https://github.com/gpuweb/gpuweb/pull/496

Bug: 852089
Change-Id: I0b786ebaf3cb4084ecf755c9175c2fe51d9eca22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1936693
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#719540}
parent 88f83d0b
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
[ [
Exposed(Window WebGPU, Worker WebGPU) Exposed(Window WebGPU, Worker WebGPU)
] interface GPUDevice : EventTarget { ] interface GPUDevice : EventTarget {
readonly attribute GPUAdapter adapter; [SameObject] readonly attribute GPUAdapter adapter;
[CallWith=ScriptState] readonly attribute Promise<GPUDeviceLostInfo> lost; [CallWith=ScriptState] readonly attribute Promise<GPUDeviceLostInfo> lost;
[SameObject] readonly attribute GPUQueue defaultQueue; [SameObject] readonly attribute GPUQueue defaultQueue;
......
...@@ -8,5 +8,5 @@ ...@@ -8,5 +8,5 @@
Constructor(DOMString type, GPUUncapturedErrorEventInit gpuUncapturedErrorEventInitDict), Constructor(DOMString type, GPUUncapturedErrorEventInit gpuUncapturedErrorEventInitDict),
Exposed(Window WebGPU, Worker WebGPU) Exposed(Window WebGPU, Worker WebGPU)
] interface GPUUncapturedErrorEvent : Event { ] interface GPUUncapturedErrorEvent : Event {
readonly attribute GPUError error; [SameObject] readonly attribute GPUError error;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment