Title: [106985] trunk/Source/WebKit2
- Revision
- 106985
- Author
- a...@apple.com
- Date
- 2012-02-07 13:48:24 -0800 (Tue, 07 Feb 2012)
Log Message
Keep a reference in didReceiveInvalidMessage.
https://bugs.webkit.org/show_bug.cgi?id=78024
Reviewed by Anders Carlsson.
* UIProcess/WebConnectionToWebProcess.cpp:
(WebKit::WebConnectionToWebProcess::didReceiveInvalidMessage):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (106984 => 106985)
--- trunk/Source/WebKit2/ChangeLog 2012-02-07 21:46:15 UTC (rev 106984)
+++ trunk/Source/WebKit2/ChangeLog 2012-02-07 21:48:24 UTC (rev 106985)
@@ -1,3 +1,13 @@
+2012-02-07 Alexey Proskuryakov <a...@apple.com>
+
+ Keep a reference in didReceiveInvalidMessage.
+ https://bugs.webkit.org/show_bug.cgi?id=78024
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/WebConnectionToWebProcess.cpp:
+ (WebKit::WebConnectionToWebProcess::didReceiveInvalidMessage):
+
2012-02-06 Anders Carlsson <ander...@apple.com>
ScrollableAreaSet should be moved from Page to FrameView
Modified: trunk/Source/WebKit2/UIProcess/WebConnectionToWebProcess.cpp (106984 => 106985)
--- trunk/Source/WebKit2/UIProcess/WebConnectionToWebProcess.cpp 2012-02-07 21:46:15 UTC (rev 106984)
+++ trunk/Source/WebKit2/UIProcess/WebConnectionToWebProcess.cpp 2012-02-07 21:48:24 UTC (rev 106985)
@@ -109,6 +109,7 @@
void WebConnectionToWebProcess::didReceiveInvalidMessage(CoreIPC::Connection* connection, CoreIPC::MessageID messageID)
{
+ RefPtr<WebConnectionToWebProcess> protector = this;
RefPtr<WebProcessProxy> process = m_process;
// This will invalidate the CoreIPC::Connection and the WebProcessProxy member
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes