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

Unified Diff: third_party/WebKit/Source/core/workers/InProcessWorkerBase.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/core/workers/InProcessWorkerBase.h
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h
index 082e3ff4cbfb8039b825129017975639554a9695..5c02891ff0b00bb11dc1ed171ce70b9e968518cc 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h
@@ -34,6 +34,7 @@ class CORE_EXPORT InProcessWorkerBase : public AbstractWorker,
PassRefPtr<SerializedScriptValue> message,
const MessagePortArray&,
ExceptionState&);
+ static bool canTransferArrayBuffer() { return true; }
void terminate();
// ActiveDOMObject

Powered by Google App Engine
This is Rietveld 408576698