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

Unified Diff: Source/modules/websockets/DOMWebSocketTest.cpp

Issue 711763002: bindings: Transition from ArrayBuffer to DOMArrayBuffer, part 2 (2nd round) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixes Win x64 build. Created 6 years, 1 month 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
« no previous file with comments | « Source/modules/websockets/DOMWebSocket.cpp ('k') | Source/modules/websockets/DocumentWebSocketChannel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/websockets/DOMWebSocketTest.cpp
diff --git a/Source/modules/websockets/DOMWebSocketTest.cpp b/Source/modules/websockets/DOMWebSocketTest.cpp
index dc6e001f2e4536793359ab59e6ef60c7b94ef4c8..8ec3a9de735c88848555783269713945d093ebe8 100644
--- a/Source/modules/websockets/DOMWebSocketTest.cpp
+++ b/Source/modules/websockets/DOMWebSocketTest.cpp
@@ -46,7 +46,7 @@ public:
MOCK_METHOD2(connect, bool(const KURL&, const String&));
MOCK_METHOD1(send, void(const String&));
- MOCK_METHOD3(send, void(const ArrayBuffer&, unsigned, unsigned));
+ MOCK_METHOD3(send, void(const DOMArrayBuffer&, unsigned, unsigned));
MOCK_METHOD1(send, void(PassRefPtr<BlobDataHandle>));
MOCK_METHOD1(send, void(PassOwnPtr<Vector<char> >));
MOCK_CONST_METHOD0(bufferedAmount, unsigned long());
@@ -611,7 +611,7 @@ TEST_F(DOMWebSocketTest, sendArrayBufferSuccess)
{
InSequence s;
EXPECT_CALL(channel(), connect(KURL(KURL(), "ws://example.com/"), String())).WillOnce(Return(true));
- EXPECT_CALL(channel(), send(Ref(*view->view()->buffer()), 0, 8));
+ EXPECT_CALL(channel(), send(Ref(*view->buffer()), 0, 8));
}
m_websocket->connect("ws://example.com/", Vector<String>(), m_exceptionState);
« no previous file with comments | « Source/modules/websockets/DOMWebSocket.cpp ('k') | Source/modules/websockets/DocumentWebSocketChannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698