Changeset 90918 in webkit


Ignore:
Timestamp:
Jul 13, 2011, 7:52:07 AM (14 years ago)
Author:
xan@webkit.org
Message:

2011-07-13 Xan Lopez <xlopez@igalia.com>

[GTK] Do not grab focus too early in DRT.

Reviewed by Gustavo Noronha.

It causes a layout to happen and a progress signal to be emitted
since r90900, but at this point we don't have a
LayoutTestController object and we'll eventually crash. Since we
already grab focus at the beginning of runTest() this is
redundant, so get rid of it to fix the crash.

  • DumpRenderTree/gtk/DumpRenderTree.cpp: (main): remove call to grab_focus
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r90898 r90918  
     12011-07-13  Xan Lopez  <xlopez@igalia.com>
     2
     3        [GTK] Do not grab focus too early in DRT.
     4
     5        Reviewed by Gustavo Noronha.
     6
     7        It causes a layout to happen and a progress signal to be emitted
     8        since r90900, but at this point we don't have a
     9        LayoutTestController object and we'll eventually crash. Since we
     10        already grab focus at the beginning of runTest() this is
     11        redundant, so get rid of it to fix the crash.
     12
     13        * DumpRenderTree/gtk/DumpRenderTree.cpp:
     14        (main): remove call to grab_focus
     15
    1162011-07-13  Sheriff Bot  <webkit.review.bot@gmail.com>
    217
  • trunk/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp

    r90776 r90918  
    11731173    gtk_widget_realize(GTK_WIDGET(webView));
    11741174    gtk_widget_show_all(container);
    1175     gtk_widget_grab_focus(GTK_WIDGET(webView));
    11761175    mainFrame = webkit_web_view_get_main_frame(webView);
    11771176
Note: See TracChangeset for help on using the changeset viewer.