[Webkit-unassigned] [Bug 16795] WebKitGtk crashes when there is no focused Frame
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 25 06:25:24 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=16795
------- Comment #5 from alp at atoker.com 2008-01-25 06:25 PDT -------
A similar issue was noticed in this code:
static void webkit_web_view_size_allocate(GtkWidget* widget, GtkAllocation*
allocation)
{
GTK_WIDGET_CLASS(webkit_web_view_parent_class)->size_allocate(widget,allocation);
Frame* frame =
core(webkit_web_view_get_main_frame(WEBKIT_WEB_VIEW(widget)));
frame->view()->resize(allocation->width, allocation->height);
frame->forceLayout();
frame->view()->adjustViewSize();
}
This causes the crash:
Frame* frame =
core(webkit_web_view_get_main_frame(WEBKIT_WEB_VIEW(widget)));
So either get_main_frame is failing or core() is failing on the frame..
(Problem noticed when user was using Midori and WebKit r29753)
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list