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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.h

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: update comment, add TODO Created 3 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/modules/peerconnection/RTCDataChannel.h
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.h b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.h
index fcde42d9d7cba132ce93b519f7ae7610a83b98b6..c0150fb0b939fed3a097944912b7bb06d7d2baa6 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.h
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.h
@@ -25,8 +25,10 @@
#ifndef RTCDataChannel_h
#define RTCDataChannel_h
+#include <memory>
#include "base/gtest_prod_util.h"
#include "bindings/core/v8/ActiveScriptWrappable.h"
+#include "core/dom/NotShared.h"
#include "core/dom/SuspendableObject.h"
#include "modules/EventTargetModules.h"
#include "platform/Timer.h"
@@ -34,7 +36,6 @@
#include "public/platform/WebRTCDataChannelHandler.h"
#include "public/platform/WebRTCDataChannelHandlerClient.h"
#include "wtf/Compiler.h"
-#include <memory>
namespace blink {
@@ -89,7 +90,7 @@ class MODULES_EXPORT RTCDataChannel final
void send(const String&, ExceptionState&);
void send(DOMArrayBuffer*, ExceptionState&);
- void send(DOMArrayBufferView*, ExceptionState&);
+ void send(NotShared<DOMArrayBufferView>, ExceptionState&);
void send(Blob*, ExceptionState&);
void close();

Powered by Google App Engine
This is Rietveld 408576698