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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h

Issue 2414333003: WebMessaging: Send transferable ArrayBuffers by copy-and-neuter semantics (Closed)
Patch Set: fix tests Created 4 years, 2 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/modules/compositorworker/CompositorWorkerGlobalScope.h
diff --git a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h
index a2d8c81f3e123a641881a5452824b16ccd6c2680..07723fed61386d84e038170163f009cf785386c4 100644
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h
@@ -37,6 +37,7 @@ class MODULES_EXPORT CompositorWorkerGlobalScope final
PassRefPtr<SerializedScriptValue>,
const MessagePortArray&,
ExceptionState&);
+ static bool canTransferArrayBuffer() { return true; }
DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
int requestAnimationFrame(FrameRequestCallback*);

Powered by Google App Engine
This is Rietveld 408576698