Changeset 134079 in webkit


Ignore:
Timestamp:
Nov 9, 2012 9:51:38 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] Give the view a size in TestWebKitAPI
https://bugs.webkit.org/show_bug.cgi?id=101770

Patch by Yael Aharon <yael.aharon@intel.com> on 2012-11-09
Reviewed by Laszlo Gombos.

2 tests are currently failing, because they expect us to paint, but we don't paint if the view size is empty.

  • TestWebKitAPI/efl/PlatformWebView.cpp:

(TestWebKitAPI::PlatformWebView::PlatformWebView):
(TestWebKitAPI::PlatformWebView::~PlatformWebView):
(TestWebKitAPI):
(TestWebKitAPI::PlatformWebView::resizeTo):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r134074 r134079  
     12012-11-09  Yael Aharon  <yael.aharon@intel.com>
     2
     3        [EFL] Give the view a size in TestWebKitAPI
     4        https://bugs.webkit.org/show_bug.cgi?id=101770
     5
     6        Reviewed by Laszlo Gombos.
     7
     8        2 tests are currently failing, because they expect us to paint, but we don't paint if the view size is empty.
     9
     10        * TestWebKitAPI/efl/PlatformWebView.cpp:
     11        (TestWebKitAPI::PlatformWebView::PlatformWebView):
     12        (TestWebKitAPI::PlatformWebView::~PlatformWebView):
     13        (TestWebKitAPI):
     14        (TestWebKitAPI::PlatformWebView::resizeTo):
     15
    1162012-11-09  Sheriff Bot  <webkit.review.bot@gmail.com>
    217
  • trunk/Tools/TestWebKitAPI/efl/PlatformWebView.cpp

    r133795 r134079  
    6161    m_view = toImpl(WKViewCreate(evas, contextRef, pageGroupRef));
    6262    ewk_view_theme_set(m_view, THEME_DIR"/default.edj");
     63    resizeTo(600, 800);
    6364}
    6465
     
    7071}
    7172
     73void PlatformWebView::resizeTo(unsigned width, unsigned height)
     74{
     75    evas_object_resize(m_view, width, height);
     76}
     77
    7278WKPageRef PlatformWebView::page() const
    7379{
Note: See TracChangeset for help on using the changeset viewer.