Changeset 87688 in webkit
- Timestamp:
- May 30, 2011 9:14:29 AM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r87685 r87688 1 2011-05-30 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Simon Fraser. 4 5 Remove incorrect asserts from PluginProcessConnection 6 https://bugs.webkit.org/show_bug.cgi?id=61731 7 8 There might be pending incoming messages from a PluginProxy even though we've 9 destroyed the plug-in and removed it from the m_plugins map, so remove the incorrect assertions. 10 11 * WebProcess/Plugins/PluginProcessConnection.cpp: 12 (WebKit::PluginProcessConnection::didReceiveMessage): 13 (WebKit::PluginProcessConnection::didReceiveSyncMessage): 14 1 15 2011-05-30 Carlos Garcia Campos <cgarcia@igalia.com> 2 16 -
trunk/Source/WebKit2/WebProcess/Plugins/PluginProcessConnection.cpp
r86812 r87688 101 101 void PluginProcessConnection::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageID messageID, CoreIPC::ArgumentDecoder* arguments) 102 102 { 103 if (arguments->destinationID()) { 104 if (PluginProxy* pluginProxy = m_plugins.get(arguments->destinationID())) 105 pluginProxy->didReceivePluginProxyMessage(connection, messageID, arguments); 103 ASSERT(arguments->destinationID()); 104 105 PluginProxy* pluginProxy = m_plugins.get(arguments->destinationID()); 106 if (!pluginProxy) 106 107 return; 107 }108 108 109 ASSERT_NOT_REACHED();109 pluginProxy->didReceivePluginProxyMessage(connection, messageID, arguments); 110 110 } 111 111 … … 117 117 } 118 118 119 if (PluginProxy* pluginProxy = m_plugins.get(arguments->destinationID())) { 120 pluginProxy->didReceiveSyncPluginProxyMessage(connection, messageID, arguments, reply); 119 ASSERT(arguments->destinationID()); 120 121 PluginProxy* pluginProxy = m_plugins.get(arguments->destinationID()); 122 if (!pluginProxy) 121 123 return; 122 }123 124 124 ASSERT_NOT_REACHED();125 pluginProxy->didReceiveSyncPluginProxyMessage(connection, messageID, arguments, reply); 125 126 } 126 127
Note: See TracChangeset
for help on using the changeset viewer.