Title: [149384] trunk/Source/WebKit2
- Revision
- 149384
- Author
- [email protected]
- Date
- 2013-04-30 11:25:11 -0700 (Tue, 30 Apr 2013)
Log 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.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (149383 => 149384)
--- trunk/Source/WebKit2/ChangeLog 2013-04-30 18:20:16 UTC (rev 149383)
+++ trunk/Source/WebKit2/ChangeLog 2013-04-30 18:25:11 UTC (rev 149384)
@@ -1,3 +1,17 @@
+2013-04-30 Carlos Garcia Campos <[email protected]>
+
+ [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.
+
2013-04-30 Timothy Hatcher <[email protected]>
Make the Inspector dock to right button work in the WebKit nightlies on Safari 6.0.4.
Modified: trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp (149383 => 149384)
--- trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp 2013-04-30 18:20:16 UTC (rev 149383)
+++ trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp 2013-04-30 18:25:11 UTC (rev 149384)
@@ -312,9 +312,7 @@
#if PLATFORM(GTK)
windowID = static_cast<uint64_t>(GDK_WINDOW_XID(gtk_plug_get_socket_window(GTK_PLUG(m_platformPluginWidget))));
#endif
- IntRect clipRect(m_clipRect);
- clipRect.move(-m_frameRectInWindowCoordinates.x(), -m_frameRectInWindowCoordinates.y());
- controller()->windowedPluginGeometryDidChange(m_frameRectInWindowCoordinates, clipRect, windowID);
+ controller()->windowedPluginGeometryDidChange(m_frameRectInWindowCoordinates, m_clipRect, windowID);
return;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes