Changeset 149384 in webkit


Ignore:
Timestamp:
Apr 30, 2013 11:25:11 AM (11 years ago)
Author:
Carlos Garcia Campos
Message:

[WK2][GTK] MiniBrowser won't play video in <embed> tag
https://bugs.webkit.org/show_bug.cgi?id=113107

Reviewed by Anders Carlsson.

The wrong clip region is used for windowed plugins, because it's
translated to window frame coords again.

  • WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:

(WebKit::NetscapePlugin::platformGeometryDidChange): Do not move
the current clip region.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r149379 r149384  
     12013-04-30  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [WK2][GTK] MiniBrowser won't play video in <embed> tag
     4        https://bugs.webkit.org/show_bug.cgi?id=113107
     5
     6        Reviewed by Anders Carlsson.
     7
     8        The wrong clip region is used for windowed plugins, because it's
     9        translated to window frame coords again.
     10
     11        * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
     12        (WebKit::NetscapePlugin::platformGeometryDidChange): Do not move
     13        the current clip region.
     14
    1152013-04-30  Timothy Hatcher  <timothy@apple.com>
    216
  • trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp

    r148883 r149384  
    313313        windowID = static_cast<uint64_t>(GDK_WINDOW_XID(gtk_plug_get_socket_window(GTK_PLUG(m_platformPluginWidget))));
    314314#endif
    315         IntRect clipRect(m_clipRect);
    316         clipRect.move(-m_frameRectInWindowCoordinates.x(), -m_frameRectInWindowCoordinates.y());
    317         controller()->windowedPluginGeometryDidChange(m_frameRectInWindowCoordinates, clipRect, windowID);
     315        controller()->windowedPluginGeometryDidChange(m_frameRectInWindowCoordinates, m_clipRect, windowID);
    318316        return;
    319317    }
Note: See TracChangeset for help on using the changeset viewer.