Changeset 58035 in webkit
- Timestamp:
- Apr 21, 2010 6:30:00 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r58031 r58035 1 2010-04-21 David Leong <david.leong@nokia.com> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] Symbian apps crash on exit due to a bad qObject_cast. 6 7 https://bugs.webkit.org/show_bug.cgi?id=37303 8 9 Added check for NULL to avoid the crash. Reworked to fix memory leak 10 11 * plugins/symbian/PluginViewSymbian.cpp: 12 (WebCore::PluginView::platformDestroy): 13 1 14 2009-04-21 Chris Fleizach <cfleizach@apple.com> 2 15 -
trunk/WebCore/plugins/symbian/PluginViewSymbian.cpp
r57333 r58035 415 415 void PluginView::platformDestroy() 416 416 { 417 QWebPageClient* client = m_parentFrame->view()->hostWindow()->platformPageClient();418 if (client && qobject_cast<QGraphicsWebView*>(client->pluginParent()))419 delete static_cast<PluginContainerSymbian*>(platformPluginWidget())->proxy();420 else421 delete platformPluginWidget();417 if (platformPluginWidget()) { 418 PluginContainerSymbian* container = static_cast<PluginContainerSymbian*>(platformPluginWidget()); 419 delete container->proxy(); 420 delete container; 421 } 422 422 } 423 423
Note: See TracChangeset
for help on using the changeset viewer.