Changeset 205182 in webkit
- Timestamp:
- Aug 30, 2016 9:34:01 AM (8 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r205176 r205182 1 2016-08-30 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 REGRESSION(r194846): [GTK] UI process crash visiting sites protected with HTTP auth when using GTK+ < 3.14 4 https://bugs.webkit.org/show_bug.cgi?id=161385 5 6 Reviewed by Antonio Gomes. 7 8 Since r194846, we are chaining up webkitWebViewBaseMotionNotifyEvent, but before GTK+ 3.14 9 GtkWidget::motion_notify_event was nullptr, so it can't be used unconditionally. 10 11 * UIProcess/API/gtk/WebKitWebViewBase.cpp: 12 (webkitWebViewBaseMotionNotifyEvent): 13 1 14 2016-08-30 Carlos Garcia Campos <cgarcia@igalia.com> 2 15 -
trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp
r205116 r205182 807 807 WebKitWebViewBasePrivate* priv = webViewBase->priv; 808 808 809 if (priv->authenticationDialog) 810 return GTK_WIDGET_CLASS(webkit_web_view_base_parent_class)->motion_notify_event(widget, event); 809 if (priv->authenticationDialog) { 810 auto* widgetClass = GTK_WIDGET_CLASS(webkit_web_view_base_parent_class); 811 return widgetClass->motion_notify_event ? widgetClass->motion_notify_event(widget, event) : FALSE; 812 } 811 813 812 814 priv->pageProxy->handleMouseEvent(NativeWebMouseEvent(reinterpret_cast<GdkEvent*>(event), 0 /* currentClickCount */));
Note: See TracChangeset
for help on using the changeset viewer.