Changeset 55302 in webkit


Ignore:
Timestamp:
Feb 26, 2010 12:42:02 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-02-26 Nicholas Young <nicholas.young@nokia.com>

Reviewed by Tor Arne Vestbø.

[Qt] Incorrect painting after a size changed.
https://bugs.webkit.org/show_bug.cgi?id=35412

No new tests. Bug fix in backend.

  • platform/graphics/qt/MediaPlayerPrivateQt.cpp: (WebCore::MediaPlayerPrivate::paint): Provide the source rectangle, rather than inferring it.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r55299 r55302  
     12010-02-26  Nicholas Young  <nicholas.young@nokia.com>
     2
     3        Reviewed by Tor Arne Vestbø.
     4
     5        [Qt] Incorrect painting after a size changed.
     6        https://bugs.webkit.org/show_bug.cgi?id=35412
     7
     8        No new tests. Bug fix in backend.
     9
     10        * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
     11        (WebCore::MediaPlayerPrivate::paint): Provide the source rectangle, rather than inferring it.
     12
    1132010-02-26  Nicholas Young  <nicholas.young@nokia.com>
    214
  • trunk/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp

    r55299 r55302  
    538538
    539539    // Render the video
    540     m_videoScene->render(painter, QRectF(QRect(rect)));
     540    m_videoScene->render(painter, QRectF(QRect(rect)), m_videoItem->sceneBoundingRect());
    541541}
    542542
Note: See TracChangeset for help on using the changeset viewer.