--- a/webengine/osswebengine/WebKit/s60/webview/BrCtl.cpp Wed Jun 09 10:52:50 2010 +0300
+++ b/webengine/osswebengine/WebKit/s60/webview/BrCtl.cpp Mon Jun 21 16:54:17 2010 +0300
@@ -87,6 +87,7 @@
#include "PluginSkin.h"
#include "HttpUiCallbacks.h"
#include "PluginWin.h"
+#include "GCController.h"
#include <BrowserVersion.h>
#include <cuseragent.h>
@@ -806,7 +807,10 @@
#endif
//Disable the zooming bar when it goes to background
- m_webView->hideZoomSliderL();
+ m_webView->hideZoomSliderL();
+
+ // Instruct JS to garbage collect
+ WebCore::gcController().garbageCollectSoon();
break;
}
case TBrCtlDefs::ECommandClearAutoFormFillData: