Skip to content

Commit

Permalink
Merge r228349 - ImageBitmapRenderingContext should be Runtime guarded
Browse files Browse the repository at this point in the history
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:
  • Loading branch information
grorg authored and carlosgcampos committed Mar 5, 2018
1 parent 63ccfaa commit de35345
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,17 @@
2018-02-09 Dean Jackson <dino@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-21 Zalan Bujtas <zalan@apple.com>

[RenderTreeBuilder] ::willBeRemoved() does not need RenderTreeBuilder anymore.
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/bindings/js/WebCoreBuiltinNames.h
Expand Up @@ -80,6 +80,7 @@ namespace WebCore {
macro(IDBTransaction) \
macro(IDBVersionChangeEvent) \
macro(ImageBitmap) \
macro(ImageBitmapRenderingContext) \
macro(InputEvent) \
macro(IntersectionObserver) \
macro(IntersectionObserverEntry) \
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/html/canvas/ImageBitmapRenderingContext.idl
Expand Up @@ -24,6 +24,7 @@
*/

[
EnabledAtRuntime=ImageBitmapOffscreenCanvas,
Exposed=Window
] interface ImageBitmapRenderingContext {
readonly attribute HTMLCanvasElement canvas;
Expand Down

0 comments on commit de35345

Please sign in to comment.