-
dglazkov@chromium.org authored
2009-09-04 Mark Mentovai <mark@chromium.org> Reviewed by Dave Hyatt. https://bugs.webkit.org/show_bug.cgi?id=28614 Account for scrollbar state changes that occur during layout. * platform/ScrollView.cpp: (WebCore::ScrollView::updateScrollbars): Perform a layout prior to checking whether the scrollbar modes are off, on, or automatic. The modes may change during layout. * WebCore.base.exp: * WebCore.order: * page/Frame.cpp: (WebCore::Frame::createView): * page/FrameView.cpp: (WebCore::FrameView::FrameView): (WebCore::FrameView::resetScrollbars): (WebCore::FrameView::layout): * page/FrameView.h: * platform/ScrollView.h: Eliminate duplicated (and incorrect) scrollbar mode tracking between FrameView and ScrollView. WebKit/mac: 2009-09-04 Mark Mentovai <mark@chromium.org> Reviewed by Dave Hyatt. https://bugs.webkit.org/show_bug.cgi?id=28614 Account for scrollbar state changes that occur during layout. * WebView/WebDynamicScrollBarsView.mm: (-[WebDynamicScrollBarsView updateScrollers]): Perform a layout prior to checking whether the scrollbar modes are off, on, or automatic. The modes may change during layout. * WebView/WebFrameView.mm: (-[WebFrameView _install]): Eliminate duplicated (and incorrect) scrollbar mode tracking between FrameView and ScrollView. WebKit/qt: 2009-09-04 Mark Mentovai <mark@chromium.org> Reviewed by Dave Hyatt. https://bugs.webkit.org/show_bug.cgi?id=28614 Account for scrollbar state changes that occur during layout. * Api/qwebframe.cpp: (QWebFrame::setScrollBarPolicy): Eliminate duplicated (and incorrect) scrollbar mode tracking between FrameView and ScrollView. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48064 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f0234eb3