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 79548f0d9303d4d515b01ef48a483f6615ca1860..2e1e60f8fcd55f790f6cd823aed7fde39c37895b 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(const NotShared<DOMArrayBufferView>&, ExceptionState&); |
void send(Blob*, ExceptionState&); |
// To distinguish close method call with the code parameter from one |