Changeset 162768 in webkit
- Timestamp:
- Jan 25, 2014 10:48:02 AM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r162758 r162768 1 2014-01-25 Zan Dobersek <zdobersek@igalia.com> 2 3 [GTK] Remove null check for WebPopupMenuProxy::Client in WebPopupMenuProxyGtk::showPopupMenu 4 https://bugs.webkit.org/show_bug.cgi?id=107036 5 6 Reviewed by Andreas Kling. 7 8 * UIProcess/gtk/WebPopupMenuProxyGtk.cpp: 9 (WebKit::WebPopupMenuProxyGtk::showPopupMenu): Don't perform an early return 10 if the client is not available - it always should be. The client is set to null 11 only when the proxy is invalidated. This happens immediately after this function 12 returns, either with the popup being forced to close or being closed by the user 13 with possibly an item being chosen. Rather than the early return, use an ASSERT. 14 1 15 2014-01-24 Tim Horton <timothy_horton@apple.com> 2 16 -
trunk/Source/WebKit2/UIProcess/gtk/WebPopupMenuProxyGtk.cpp
r162599 r162768 106 106 g_signal_handler_disconnect(m_popup->platformMenu(), unmapHandler); 107 107 108 if (!m_client) 109 return; 110 108 ASSERT(m_client); 111 109 m_client->valueChangedForPopupMenu(this, m_activeItem); 112 110 }
Note: See TracChangeset
for help on using the changeset viewer.