Title: [218624] trunk/Source/WebCore
Revision
218624
Author
drou...@apple.com
Date
2017-06-20 21:17:46 -0700 (Tue, 20 Jun 2017)

Log Message

WebGPU contexts should have a back reference to the canvas element
https://bugs.webkit.org/show_bug.cgi?id=173633

Reviewed by Jon Lee.

No tests added, as this is already implemented within other canvas types.

* html/canvas/WebGPURenderingContext.idl:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (218623 => 218624)


--- trunk/Source/WebCore/ChangeLog	2017-06-21 03:13:18 UTC (rev 218623)
+++ trunk/Source/WebCore/ChangeLog	2017-06-21 04:17:46 UTC (rev 218624)
@@ -1,3 +1,14 @@
+2017-06-20  Devin Rousso  <drou...@apple.com>
+
+        WebGPU contexts should have a back reference to the canvas element
+        https://bugs.webkit.org/show_bug.cgi?id=173633
+
+        Reviewed by Jon Lee.
+
+        No tests added, as this is already implemented within other canvas types.
+
+        * html/canvas/WebGPURenderingContext.idl:
+
 2017-06-20  Youenn Fablet  <you...@apple.com>
 
         WebAudioSourceProvider should be thread safe ref counted

Modified: trunk/Source/WebCore/html/canvas/WebGPURenderingContext.idl (218623 => 218624)


--- trunk/Source/WebCore/html/canvas/WebGPURenderingContext.idl	2017-06-21 03:13:18 UTC (rev 218623)
+++ trunk/Source/WebCore/html/canvas/WebGPURenderingContext.idl	2017-06-21 04:17:46 UTC (rev 218624)
@@ -30,6 +30,8 @@
     JSCustomMarkFunction,
     DoNotCheckConstants
 ] interface WebGPURenderingContext {
+    // back-reference to the canvas
+    readonly attribute HTMLCanvasElement canvas;
 
     // Pixel formats
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to