+2008-08-06 Ariya Hidayat <ariya.hidayat@trolltech.com>
+
+ Fix the Qt build due to recent ScriptController refactoring.
+
+ * plugins/qt/PluginViewQt.cpp:
+ (WebCore::PluginView::getValue):
+ (WebCore::PluginView::~PluginView):
+
2008-08-06 Eric Seidel <eric@webkit.org>
Build fix only, no review.
if (m_isJavaScriptPaused)
return NPERR_GENERIC_ERROR;
- NPObject* windowScriptObject = m_parentFrame->windowScriptNPObject();
+ NPObject* windowScriptObject = m_parentFrame->script()->windowScriptNPObject();
// Return value is expected to be retained, as described here: <http://www.mozilla.org/projects/plugin/npruntime.html>
if (windowScriptObject)
freeStringArray(m_paramNames, m_paramCount);
freeStringArray(m_paramValues, m_paramCount);
- m_parentFrame->cleanupScriptObjectsForPlugin(this);
+ m_parentFrame->script()->cleanupScriptObjectsForPlugin(this);
if (m_plugin && !(m_plugin->quirks().contains(PluginQuirkDontUnloadPlugin)))
m_plugin->unload();
void QWebFrame::addToJavaScriptWindowObject(const QString &name, QObject *object)
{
JSDOMWindow *window = toJSDOMWindow(d->frame);
- KJS::Bindings::RootObject *root = d->frame->bindingRootObject();
+ KJS::Bindings::RootObject *root = d->frame->script()->bindingRootObject();
if (!window) {
qDebug() << "Warning: couldn't get window object";
return;
+2008-08-06 Ariya Hidayat <ariya.hidayat@trolltech.com>
+
+ Fix the Qt build due to recent ScriptController refactoring.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::addToJavaScriptWindowObject):
+
2008-08-05 Tor Arne Vestbø <tavestbo@trolltech.com>
Reviewed by Simon.