Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/Transferables.h

Issue 1917733004: Reland of: Make OffscreenCanvas Transferable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address all comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/Transferables.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/Transferables.h b/third_party/WebKit/Source/bindings/core/v8/Transferables.h
index bec7fc0cf134378dd5717888d778f112999fa09a..772965ebc3dfa6cad6d7553de74741a1e99058e0 100644
--- a/third_party/WebKit/Source/bindings/core/v8/Transferables.h
+++ b/third_party/WebKit/Source/bindings/core/v8/Transferables.h
@@ -13,10 +13,12 @@ namespace blink {
class DOMArrayBufferBase;
class ImageBitmap;
+class OffscreenCanvas;
class MessagePort;
using ArrayBufferArray = HeapVector<Member<DOMArrayBufferBase>>;
using ImageBitmapArray = HeapVector<Member<ImageBitmap>>;
+using OffscreenCanvasArray = HeapVector<Member<OffscreenCanvas>>;
using MessagePortArray = HeapVector<Member<MessagePort>>;
class CORE_EXPORT Transferables final {
@@ -29,6 +31,7 @@ public:
ArrayBufferArray arrayBuffers;
ImageBitmapArray imageBitmaps;
+ OffscreenCanvasArray offscreenCanvases;
MessagePortArray messagePorts;
};

Powered by Google App Engine
This is Rietveld 408576698