Skip to content
  • commit-queue@webkit.org's avatar
    [EFL] Enable use of X11 in DumpRenderTree / WebKitTestRunner · 94fc25c7
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=98231
    
    Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-03
    Reviewed by Gyuyoung Kim.
    
    Source/WebKit/efl:
    
    Initialize ecore_x library in ewk_main since it is used by
    WebKitEFL.
    
    * ewk/ewk_main.cpp:
    (ewk_init):
    (ewk_shutdown):
    
    Source/WebKit2:
    
    Initialize ecore_x library in ewk_main instead of
    WebKitTestRunner since WebKit is using ecore_x
    not WebKitTestRunner itself.
    
    * UIProcess/API/efl/ewk_main.cpp:
    (ewk_init):
    (ewk_shutdown):
    
    Tools:
    
    Enable use of X11 in DumpRenderTree / WebKitTestRunner.
    Call ecore_evas_new() instead of ecore_evas_buffer_new()
    in EFL's DumpRenderTree and WebKitTestRunner.
    It is safe to do this now that we are using XvfbDriver
    for the layout tests.
    
    * DumpRenderTree/efl/DumpRenderTree.cpp:
    (parseCommandLineOptions):
    (initEcoreEvas):
    * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
    (WTR::initEcoreEvas):
    * WebKitTestRunner/efl/main.cpp:
    (main):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130363 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    94fc25c7