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

Unified Diff: third_party/WebKit/Source/modules/websockets/DOMWebSocket.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/websockets/DOMWebSocket.h
diff --git a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.h b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.h
index a1eeae08bdf434360c414d4ed39e20dcec132e15..77756908991bf20b54838e4cbf8cb977e1464681 100644
--- a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.h
+++ b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.h
@@ -31,8 +31,12 @@
#ifndef DOMWebSocket_h
#define DOMWebSocket_h
+#include <stddef.h>
+#include <stdint.h>
+#include <memory>
#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "bindings/core/v8/ScriptWrappable.h"
+#include "core/dom/NotShared.h"
#include "core/dom/SuspendableObject.h"
#include "core/events/EventListener.h"
#include "core/events/EventTarget.h"
@@ -48,9 +52,6 @@
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
#include "wtf/text/WTFString.h"
-#include <memory>
-#include <stddef.h>
-#include <stdint.h>
namespace blink {
@@ -90,7 +91,7 @@ class MODULES_EXPORT DOMWebSocket : public EventTargetWithInlineData,
void send(const String& message, ExceptionState&);
void send(DOMArrayBuffer*, ExceptionState&);
- void send(DOMArrayBufferView*, ExceptionState&);
+ void send(NotShared<DOMArrayBufferView>, ExceptionState&);
void send(Blob*, ExceptionState&);
// To distinguish close method call with the code parameter from one

Powered by Google App Engine
This is Rietveld 408576698