Changeset 85584 in webkit


Ignore:
Timestamp:
May 2, 2011 10:02:39 PM (13 years ago)
Author:
yael.aharon@nokia.com
Message:

2011-05-02 Yael Aharon <yael.aharon@nokia.com>

Reviewed by Andreas Kling.

[Qt] White screen displays when using MiniBrowser with DrawingAreaImpl
https://bugs.webkit.org/show_bug.cgi?id=60003

When using DrawingAreaImpl, we need to properly pass the viewSize to the WebPage.
Otherwise, the dirty rect will always be empty and we will not draw.

  • UIProcess/API/qt/qwkpage.cpp: (QWKPagePrivate::viewSize):
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r85576 r85584  
     12011-05-02  Yael Aharon  <yael.aharon@nokia.com>
     2
     3        Reviewed by Andreas Kling.
     4
     5        [Qt] White screen displays when using MiniBrowser with DrawingAreaImpl
     6        https://bugs.webkit.org/show_bug.cgi?id=60003
     7
     8        When using DrawingAreaImpl, we need to properly pass the viewSize to the WebPage.
     9        Otherwise, the dirty rect will always be empty and we will not draw.
     10
     11        * UIProcess/API/qt/qwkpage.cpp:
     12        (QWKPagePrivate::viewSize):
     13
    1142011-05-02  Anders Carlsson  <andersca@apple.com>
    215
  • trunk/Source/WebKit2/UIProcess/API/qt/qwkpage.cpp

    r85120 r85584  
    160160WebCore::IntSize QWKPagePrivate::viewSize()
    161161{
    162     // FIXME: Implement.
    163     return WebCore::IntSize();
     162    return view ? WebCore::IntSize(view->boundingRect().size().toSize()) : WebCore::IntSize();
    164163}
    165164
Note: See TracChangeset for help on using the changeset viewer.