Commit cf073e12 authored by abarth@webkit.org's avatar abarth@webkit.org

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

        Reviewed by Holger Freyther.

        ASSERT(m_state = Open); is bad news bears
        https://bugs.webkit.org/show_bug.cgi?id=47057

        Added by ap (review by darin) in http://trac.webkit.org/changeset/50951
        Too bad the compiler doesn't catch these errors.  I don't believe this
        is possible to test.

        * platform/network/cf/SocketStreamHandleCFNet.cpp:
        (WebCore::SocketStreamHandle::writeStreamCallback):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0f25d354
2010-10-03 Adam Barth <abarth@webkit.org>
Reviewed by Holger Freyther.
ASSERT(m_state = Open); is bad news bears
https://bugs.webkit.org/show_bug.cgi?id=47057
Added by ap (review by darin) in http://trac.webkit.org/changeset/50951
Too bad the compiler doesn't catch these errors. I don't believe this
is possible to test.
* platform/network/cf/SocketStreamHandleCFNet.cpp:
(WebCore::SocketStreamHandle::writeStreamCallback):
2010-10-03 Adam Barth <abarth@webkit.org>
Reviewed by Holger Freyther.
......@@ -565,7 +565,7 @@ void SocketStreamHandle::writeStreamCallback(CFStreamEventType type)
break;
}
ASSERT(m_state = Open);
ASSERT(m_state == Open);
ASSERT(m_connectingSubstate == Connected);
sendPendingData();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment