Title: [228349] trunk/Source/WebCore
Revision
228349
Author
d...@apple.com
Date
2018-02-09 17:24:49 -0800 (Fri, 09 Feb 2018)

Log Message

ImageBitmapRenderingContext should be Runtime guarded
https://bugs.webkit.org/show_bug.cgi?id=182665
<rdar://problem/37411410>

Reviewed by Sam Weinig.

Add a flag to ensure the ImageBitmapRenderingContext interface is only
visible when the runtime feature is enabled.

* bindings/js/WebCoreBuiltinNames.h:
* html/canvas/ImageBitmapRenderingContext.idl:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (228348 => 228349)


--- trunk/Source/WebCore/ChangeLog	2018-02-10 01:13:27 UTC (rev 228348)
+++ trunk/Source/WebCore/ChangeLog	2018-02-10 01:24:49 UTC (rev 228349)
@@ -1,3 +1,17 @@
+2018-02-09  Dean Jackson  <d...@apple.com>
+
+        ImageBitmapRenderingContext should be Runtime guarded
+        https://bugs.webkit.org/show_bug.cgi?id=182665
+        <rdar://problem/37411410>
+
+        Reviewed by Sam Weinig.
+
+        Add a flag to ensure the ImageBitmapRenderingContext interface is only
+        visible when the runtime feature is enabled.
+
+        * bindings/js/WebCoreBuiltinNames.h:
+        * html/canvas/ImageBitmapRenderingContext.idl:
+
 2018-02-09  Don Olmstead  <don.olmst...@sony.com>
 
         [CMake] Make PAL headers copies

Modified: trunk/Source/WebCore/bindings/js/WebCoreBuiltinNames.h (228348 => 228349)


--- trunk/Source/WebCore/bindings/js/WebCoreBuiltinNames.h	2018-02-10 01:13:27 UTC (rev 228348)
+++ trunk/Source/WebCore/bindings/js/WebCoreBuiltinNames.h	2018-02-10 01:24:49 UTC (rev 228349)
@@ -82,6 +82,7 @@
     macro(IDBTransaction) \
     macro(IDBVersionChangeEvent) \
     macro(ImageBitmap) \
+    macro(ImageBitmapRenderingContext) \
     macro(InputEvent) \
     macro(IntersectionObserver) \
     macro(IntersectionObserverEntry) \

Modified: trunk/Source/WebCore/html/canvas/ImageBitmapRenderingContext.idl (228348 => 228349)


--- trunk/Source/WebCore/html/canvas/ImageBitmapRenderingContext.idl	2018-02-10 01:13:27 UTC (rev 228348)
+++ trunk/Source/WebCore/html/canvas/ImageBitmapRenderingContext.idl	2018-02-10 01:24:49 UTC (rev 228349)
@@ -24,6 +24,7 @@
  */
 
 [
+    EnabledAtRuntime=ImageBitmapOffscreenCanvas,
     Exposed=Window
 ] interface ImageBitmapRenderingContext {
     readonly attribute HTMLCanvasElement canvas;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to