Commit a317f3c7 authored by hausmann@webkit.org's avatar hausmann@webkit.org
Browse files

2008-10-22 Yael Aharon <yael.aharon@nokia.com>

        Reviewed by Simon Hausmann.

        emit scrollRequested unconditionally when scrolling.

        See https://bugs.webkit.org/show_bug.cgi?id=21790

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 41572ec8
2008-10-22 Yael Aharon <yael.aharon@nokia.com>
Reviewed by Simon Hausmann.
emit scrollRequested unconditionally when scrolling.
See https://bugs.webkit.org/show_bug.cgi?id=21790
* WebCoreSupport/ChromeClientQt.cpp:
(WebCore::ChromeClientQt::scroll):
2008-10-23 Simon Hausmann <hausmann@webkit.org>
Reviewed by Tor Arne.
......
......@@ -319,8 +319,7 @@ void ChromeClientQt::scroll(const IntSize& delta, const IntRect& scrollViewRect,
QWidget* view = m_webPage->view();
if (view)
view->scroll(delta.width(), delta.height(), scrollViewRect);
else
emit m_webPage->scrollRequested(delta.width(), delta.height(), scrollViewRect);
emit m_webPage->scrollRequested(delta.width(), delta.height(), scrollViewRect);
}
IntRect ChromeClientQt::windowToScreen(const IntRect& rect) const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment