Changeset 74322 in webkit


Ignore:
Timestamp:
Dec 19, 2010 7:28:30 AM (13 years ago)
Author:
benjamin.poulain@nokia.com
Message:

2010-12-19 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] [WK2] Client are expected to render their own background for WebPages
https://bugs.webkit.org/show_bug.cgi?id=51296

Do not render a white background before rendering the page with DrawingAreaProxy.

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

Legend:

Unmodified
Added
Removed
  • trunk/WebKit2/ChangeLog

    r74306 r74322  
     12010-12-19  Benjamin Poulain  <benjamin.poulain@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] [WK2] Client are expected to render their own background for WebPages
     6        https://bugs.webkit.org/show_bug.cgi?id=51296
     7
     8        Do not render a white background before rendering the page with DrawingAreaProxy.
     9
     10        * UIProcess/API/qt/qwkpage.cpp:
     11        (QWKPagePrivate::paint):
     12
    1132010-12-17  Darin Adler  <darin@apple.com>
    214
  • trunk/WebKit2/UIProcess/API/qt/qwkpage.cpp

    r74285 r74322  
    163163    painter->save();
    164164
    165     painter->setBrush(Qt::white);
    166     painter->drawRect(area);
    167 
    168165    if (page->isValid() && page->drawingArea())
    169166        page->drawingArea()->paint(IntRect(area), painter);
     167    else
     168        painter->fillRect(area, Qt::white);
    170169
    171170    painter->restore();
Note: See TracChangeset for help on using the changeset viewer.