930346f3335f271b808bd69409c708262673ba3a RCL_3
authorEckhart Koeppen <eckhart.koppen@nokia.com>
Thu, 22 Apr 2010 16:15:11 +0300
branchRCL_3
changeset 15 8c4229025c0b
parent 14 c0432d11811c
child 16 b25b6dc3ff8b
930346f3335f271b808bd69409c708262673ba3a
VERSION.SHA1
src/3rdparty/webkit/WebCore/plugins/symbian/PluginViewSymbian.cpp
--- a/VERSION.SHA1	Wed Apr 21 20:15:53 2010 +0300
+++ b/VERSION.SHA1	Thu Apr 22 16:15:11 2010 +0300
@@ -1,1 +1,1 @@
-eb175c3290cd7ea85da4a590db9461504a4904bc
+930346f3335f271b808bd69409c708262673ba3a
--- a/src/3rdparty/webkit/WebCore/plugins/symbian/PluginViewSymbian.cpp	Wed Apr 21 20:15:53 2010 +0300
+++ b/src/3rdparty/webkit/WebCore/plugins/symbian/PluginViewSymbian.cpp	Thu Apr 22 16:15:11 2010 +0300
@@ -452,11 +452,11 @@
 
 void PluginView::platformDestroy()
 {
-    QWebPageClient* client = m_parentFrame->view()->hostWindow()->platformPageClient();
-    if (client && qobject_cast<QGraphicsWebView*>(client->pluginParent()))
-        delete static_cast<PluginContainerSymbian*>(platformPluginWidget())->proxy();
-    else
-        delete platformPluginWidget();
+    if (platformPluginWidget()) { 
+        PluginContainerSymbian* container = static_cast<PluginContainerSymbian*>(platformPluginWidget()); 
+        delete container->proxy(); 
+        delete container;
+    }
 }
 
 void PluginView::halt()