Changeset 68985 in webkit


Ignore:
Timestamp:
Oct 3, 2010 2:00:22 AM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-10-03 Adam Barth <abarth@webkit.org>

Reviewed by Holger Freyther.

All the WebSocket tests crash
https://bugs.webkit.org/show_bug.cgi?id=47056

More code that tries to hold onto temporaries with references.

  • websockets/WebSocketChannel.cpp: (WebCore::WebSocketChannel::didOpen):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r68984 r68985  
     12010-10-03  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Holger Freyther.
     4
     5        All the WebSocket tests crash
     6        https://bugs.webkit.org/show_bug.cgi?id=47056
     7
     8        More code that tries to hold onto temporaries with references.
     9
     10        * websockets/WebSocketChannel.cpp:
     11        (WebCore::WebSocketChannel::didOpen):
     12
    1132010-10-03  Adam Barth  <abarth@webkit.org>
    214
  • trunk/WebCore/websockets/WebSocketChannel.cpp

    r67447 r68985  
    158158        controller->willSendWebSocketHandshakeRequest(identifier(), m_handshake.clientHandshakeRequest());
    159159#endif
    160     const CString& handshakeMessage = m_handshake.clientHandshakeMessage();
     160    CString handshakeMessage = m_handshake.clientHandshakeMessage();
    161161    if (!handle->send(handshakeMessage.data(), handshakeMessage.length())) {
    162162        m_context->addMessage(JSMessageSource, LogMessageType, ErrorMessageLevel, "Error sending handshake message.", 0, m_handshake.clientOrigin());
Note: See TracChangeset for help on using the changeset viewer.