Changeset 73195 in webkit


Ignore:
Timestamp:
Dec 2, 2010 1:49:11 PM (13 years ago)
Author:
andersca@apple.com
Message:

Flash videos on YouTube flicker
https://bugs.webkit.org/show_bug.cgi?id=50409
<rdar://problem/8668757>

Reviewed by Sam Weinig.

When painting from a backing store, we need to add the source location
to the destination point.

  • WebProcess/Plugins/PluginProxy.cpp:

(WebKit::PluginProxy::paint):
(WebKit::PluginProxy::update):

Location:
trunk/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit2/ChangeLog

    r73187 r73195  
     12010-12-02  Anders Carlsson  <andersca@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        Flash videos on YouTube flicker
     6        https://bugs.webkit.org/show_bug.cgi?id=50409
     7        <rdar://problem/8668757>
     8
     9        When painting from a backing store, we need to add the source location
     10        to the destination point.
     11
     12        * WebProcess/Plugins/PluginProxy.cpp:
     13        (WebKit::PluginProxy::paint):
     14        (WebKit::PluginProxy::update):
     15
    1162010-12-02  Sam Weinig  <sam@webkit.org>
    217
  • trunk/WebKit2/WebProcess/Plugins/PluginProxy.cpp

    r73090 r73195  
    132132    dirtyRectInPluginCoordinates.move(-m_frameRect.x(), -m_frameRect.y());
    133133
    134     m_backingStore->paint(*graphicsContext, m_frameRect.location(), dirtyRectInPluginCoordinates);
     134    m_backingStore->paint(*graphicsContext, dirtyRect.location(), dirtyRectInPluginCoordinates);
    135135
    136136    if (m_waitingForPaintInResponseToUpdate) {
     
    420420        OwnPtr<GraphicsContext> graphicsContext = m_backingStore->createGraphicsContext();
    421421
    422         m_pluginBackingStore->paint(*graphicsContext, IntPoint(), paintedRectPluginCoordinates);
     422        m_pluginBackingStore->paint(*graphicsContext, paintedRectPluginCoordinates.location(),
     423                                    paintedRectPluginCoordinates);
    423424    }
    424425
Note: See TracChangeset for help on using the changeset viewer.