[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
cblu
cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:57:12 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 3c3045b927d9d1a53923f0f2512eac54751d6f9a
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Mar 7 23:31:43 2002 +0000
Included PARAM tags as arguments to WCJavaAppletWidget
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/khtml/rendering/render_applet.cpp b/WebCore/khtml/rendering/render_applet.cpp
index 0e2be5b..2d52b17 100644
--- a/WebCore/khtml/rendering/render_applet.cpp
+++ b/WebCore/khtml/rendering/render_applet.cpp
@@ -50,6 +50,14 @@ RenderApplet::RenderApplet(QScrollView *view,
m_applet = applet;
#ifdef APPLE_CHANGES
+ NodeImpl *child = m_applet->firstChild();
+ while(child) {
+ if(child->id() == ID_PARAM) {
+ HTMLParamElementImpl *p = static_cast<HTMLParamElementImpl *>(child);
+ args.insert(p->name(), p->value());
+ }
+ child = child->nextSibling();
+ }
setQWidget( new WCJavaAppletWidget(args));
#else /* APPLE_CHANGES not defined */
KJavaAppletContext *context = 0;
diff --git a/WebCore/src/kdelibs/khtml/rendering/render_applet.cpp b/WebCore/src/kdelibs/khtml/rendering/render_applet.cpp
index 0e2be5b..2d52b17 100644
--- a/WebCore/src/kdelibs/khtml/rendering/render_applet.cpp
+++ b/WebCore/src/kdelibs/khtml/rendering/render_applet.cpp
@@ -50,6 +50,14 @@ RenderApplet::RenderApplet(QScrollView *view,
m_applet = applet;
#ifdef APPLE_CHANGES
+ NodeImpl *child = m_applet->firstChild();
+ while(child) {
+ if(child->id() == ID_PARAM) {
+ HTMLParamElementImpl *p = static_cast<HTMLParamElementImpl *>(child);
+ args.insert(p->name(), p->value());
+ }
+ child = child->nextSibling();
+ }
setQWidget( new WCJavaAppletWidget(args));
#else /* APPLE_CHANGES not defined */
KJavaAppletContext *context = 0;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list