[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.22-985-g3c00f00
xan at webkit.org
xan at webkit.org
Wed Mar 17 17:58:21 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit e21ff46547cd2e9c8cb03a045efa6e80f4ad8dae
Author: xan at webkit.org <xan at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Feb 24 13:46:47 2010 +0000
2010-02-24 Xan Lopez <xlopez at igalia.com>
Reviewed by Gustavo Noronha.
Get rid of an extra call to
setNPWindowIfNeeded. updatePluginWidget already calls this for us
if needed.
* plugins/gtk/PluginViewGtk.cpp:
(WebCore::PluginView::platformStart):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index d1e9894..4cc57a3 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -17,6 +17,17 @@
Reviewed by Gustavo Noronha.
+ Get rid of an extra call to
+ setNPWindowIfNeeded. updatePluginWidget already calls this for us
+ if needed.
+
+ * plugins/gtk/PluginViewGtk.cpp:
+ (WebCore::PluginView::platformStart):
+
+2010-02-24 Xan Lopez <xlopez at igalia.com>
+
+ Reviewed by Gustavo Noronha.
+
Try to sanitize a bit the geometry management of plugins.
Stop doing contradictory things in updatePluginWidget (we were at
diff --git a/WebCore/plugins/gtk/PluginViewGtk.cpp b/WebCore/plugins/gtk/PluginViewGtk.cpp
index f45abd1..3204d81 100644
--- a/WebCore/plugins/gtk/PluginViewGtk.cpp
+++ b/WebCore/plugins/gtk/PluginViewGtk.cpp
@@ -894,10 +894,8 @@ bool PluginView::platformStart()
#endif
// TODO remove in favor of null events, like mac port?
- if (!(m_plugin->quirks().contains(PluginQuirkDeferFirstSetWindowCall))) {
+ if (!(m_plugin->quirks().contains(PluginQuirkDeferFirstSetWindowCall)))
updatePluginWidget(); // was: setNPWindowIfNeeded(), but this doesn't produce 0x0 rects at first go
- setNPWindowIfNeeded();
- }
return true;
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list