Title: [138547] trunk/Source/WebKit2
- Revision
- 138547
- Author
- wei...@apple.com
- Date
- 2012-12-28 13:48:30 -0800 (Fri, 28 Dec 2012)
Log Message
Fix assert seen when adding a custom protocol handler before an initial
web process has been created.
* UIProcess/WebContext.h:
(WebKit::WebContext::sendToNetworkingProcess):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (138546 => 138547)
--- trunk/Source/WebKit2/ChangeLog 2012-12-28 21:07:30 UTC (rev 138546)
+++ trunk/Source/WebKit2/ChangeLog 2012-12-28 21:48:30 UTC (rev 138547)
@@ -1,3 +1,11 @@
+2012-12-28 Sam Weinig <s...@webkit.org>
+
+ Fix assert seen when adding a custom protocol handler before an initial
+ web process has been created.
+
+ * UIProcess/WebContext.h:
+ (WebKit::WebContext::sendToNetworkingProcess):
+
2012-12-28 Martin Robinson <mrobin...@igalia.com>
[GTK][WK2] Add support for IME Composition
Modified: trunk/Source/WebKit2/UIProcess/WebContext.h (138546 => 138547)
--- trunk/Source/WebKit2/UIProcess/WebContext.h 2012-12-28 21:07:30 UTC (rev 138546)
+++ trunk/Source/WebKit2/UIProcess/WebContext.h 2012-12-28 21:48:30 UTC (rev 138547)
@@ -485,7 +485,7 @@
{
switch (m_processModel) {
case ProcessModelSharedSecondaryProcess:
- if (m_processes[0]->canSendMessage())
+ if (!m_processes.isEmpty() && m_processes[0]->canSendMessage())
m_processes[0]->send(message, 0);
return;
case ProcessModelMultipleSecondaryProcesses:
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes