Changeset 128978 in webkit


Ignore:
Timestamp:
Sep 19, 2012 1:43:33 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt][Win] Fix rendering of flash content when scrolling
https://bugs.webkit.org/show_bug.cgi?id=92905

Patch by Simon Hausmann <simon.hausmann@digia.com> on 2012-09-19
Reviewed by Jocelyn Turcotte.

Fix rendering offset similar to r121441.

  • plugins/win/PluginViewWin.cpp:

(WebCore::PluginView::paint):
(WebCore::PluginView::setNPWindowRect):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r128976 r128978  
     12012-09-19  Simon Hausmann  <simon.hausmann@digia.com>
     2
     3        [Qt][Win] Fix rendering of flash content when scrolling
     4        https://bugs.webkit.org/show_bug.cgi?id=92905
     5
     6        Reviewed by Jocelyn Turcotte.
     7
     8        Fix rendering offset similar to r121441.
     9
     10        * plugins/win/PluginViewWin.cpp:
     11        (WebCore::PluginView::paint):
     12        (WebCore::PluginView::setNPWindowRect):
     13
    1142012-09-19  Andrey Adaikin  <aandrey@chromium.org>
    215
  • trunk/Source/WebCore/plugins/win/PluginViewWin.cpp

    r127191 r128978  
    641641    ASSERT(parent()->isFrameView());
    642642
    643     // In the GTK port we draw in an offscreen buffer and don't want to use the window
     643    // In the GTK and Qt ports we draw in an offscreen buffer and don't want to use the window
    644644    // coordinates.
    645 #if PLATFORM(GTK)
     645#if PLATFORM(GTK) || PLATFORM(QT)
    646646    IntRect rectInWindow(rect);
    647647    rectInWindow.intersect(frameRect());
     
    832832    m_npWindow.clipRect.bottom = r.height();
    833833#else
    834     // In the GTK port we draw in an offscreen buffer and don't want to use the window
     834    // In the GTK and Qt ports we draw in an offscreen buffer and don't want to use the window
    835835    // coordinates.
    836 # if PLATFORM(GTK)
     836# if PLATFORM(GTK) || PLATFORM(QT)
    837837    IntPoint p = rect.location();
    838838# else
Note: See TracChangeset for help on using the changeset viewer.