Title: [98151] branches/safari-534.52-branch/Source/WebKit2
Diff
Modified: branches/safari-534.52-branch/Source/WebKit2/ChangeLog (98150 => 98151)
--- branches/safari-534.52-branch/Source/WebKit2/ChangeLog 2011-10-21 21:13:53 UTC (rev 98150)
+++ branches/safari-534.52-branch/Source/WebKit2/ChangeLog 2011-10-21 21:16:03 UTC (rev 98151)
@@ -1,5 +1,22 @@
2011-10-21 Lucas Forschler <[email protected]>
+ Merge 98013
+
+ 2011-10-20 Brady Eidson <[email protected]>
+
+ <rdar://problem/9412849> and https://bugs.webkit.org/show_bug.cgi?id=70535
+ WK2 - Crash deref'ing a null context menu
+
+ Reviewed by Darin Adler.
+
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::didSelectItemFromActiveContextMenu): In some cases that we still can't reproduce,
+ this message can be received in the WebProcess after the context menu has been cleared, leading
+ to a crash. Turning the ASSERT in to an early return will prevent the crash while we try to learn more
+ about how this could happen.
+
+2011-10-21 Lucas Forschler <[email protected]>
+
Merge 97808
2011-10-18 Enrica Casucci <[email protected]>
Modified: branches/safari-534.52-branch/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (98150 => 98151)
--- branches/safari-534.52-branch/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2011-10-21 21:13:53 UTC (rev 98150)
+++ branches/safari-534.52-branch/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2011-10-21 21:16:03 UTC (rev 98151)
@@ -1901,7 +1901,9 @@
void WebPage::didSelectItemFromActiveContextMenu(const WebContextMenuItemData& item)
{
- ASSERT(m_contextMenu);
+ if (!m_contextMenu)
+ return;
+
m_contextMenu->itemSelected(item);
m_contextMenu = 0;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes