webengine/osswebengine/WebKit/s60/webview/WebFrameView.cpp
branchRCL_3
changeset 92 e1bea15f9a39
parent 91 30342f40acbf
child 93 79859ed3eea9
--- a/webengine/osswebengine/WebKit/s60/webview/WebFrameView.cpp	Thu Jul 15 19:53:20 2010 +0300
+++ b/webengine/osswebengine/WebKit/s60/webview/WebFrameView.cpp	Thu Aug 19 10:58:56 2010 +0300
@@ -288,10 +288,11 @@
     return TRect(m_contentPos, s );
 }
 
-void WebFrameView::scrollTo(const TPoint& aPoint)
+void WebFrameView::scrollTo(const TPoint& aPoint, TBool aPluginPause)
 {
-
-    m_topView->scrollStatus(ETrue);
+    
+    if(aPluginPause)
+        m_topView->scrollStatus(ETrue);
 
     if (m_parent) {
         // tot:fixme frame scrolling when frame-flat is off
@@ -423,7 +424,6 @@
         	{ 
             // this will also update scrollbars is necessary
             scrollTo(p);
-            m_topView->scrollStatus(false); 
         	} 
         else if (!m_parent) {
             // top level