Commit be80d27a authored by andersca@apple.com's avatar andersca@apple.com

Keep a strong reference to the connection to avoid crashes.

Reviewed by Sam Weinig.

* Platform/CoreIPC/Connection.cpp:



git-svn-id: svn://svn.chromium.org/blink/trunk@82077 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 9a0d3820
2011-03-27 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
Keep a strong reference to the connection to avoid crashes.
* Platform/CoreIPC/Connection.cpp:
2011-03-26 Jeff Miller <jeffm@apple.com>
Reviewed by Sam Weinig.
......
......@@ -84,7 +84,7 @@ private:
bool m_didScheduleDispatchMessagesWork;
struct ConnectionAndIncomingMessage {
Connection* connection;
RefPtr<Connection> connection;
IncomingMessage incomingMessage;
};
Vector<ConnectionAndIncomingMessage> m_messagesToDispatchWhileWaitingForSyncReply;
......
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