Changeset 121942 in webkit


Ignore:
Timestamp:
Jul 5, 2012 9:31:26 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Transform should be applied to the clip rect in QRawWebView::paint
https://bugs.webkit.org/show_bug.cgi?id=90652

Patch by Luiz Agostini <luiz.agostini@nokia.com> on 2012-07-05
Reviewed by Kenneth Rohde Christiansen.

Applying the transformation matrix to the clip rect in QRawWebView::paint.

  • UIProcess/API/qt/raw/qrawwebview.cpp:

(QRawWebView::paint):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r121934 r121942  
     12012-07-05  Luiz Agostini  <luiz.agostini@nokia.com>
     2
     3        [Qt] Transform should be applied to the clip rect in QRawWebView::paint
     4        https://bugs.webkit.org/show_bug.cgi?id=90652
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        Applying the transformation matrix to the clip rect in QRawWebView::paint.
     9
     10        * UIProcess/API/qt/raw/qrawwebview.cpp:
     11        (QRawWebView::paint):
     12
    1132012-07-05  Christophe Dumez  <christophe.dumez@intel.com>
    214
  • trunk/Source/WebKit2/UIProcess/API/qt/raw/qrawwebview.cpp

    r121620 r121942  
    361361    WebCore::FloatRect rect(0, 0, d->m_size.width(), d->m_size.height());
    362362
    363     renderer->paintToCurrentGLContext(transform, opacity, rect, paintFlags);
     363    renderer->paintToCurrentGLContext(transform, opacity, transform.mapRect(rect), paintFlags);
    364364}
    365365
Note: See TracChangeset for help on using the changeset viewer.