Reviewed by Maciej.
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Oct 2006 03:34:36 +0000 (03:34 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Oct 2006 03:34:36 +0000 (03:34 +0000)
commitfef9fb278758315cb730fcd433a65c8b7be77d87
treee0041d43ec3235e78ee4eead77b5043e700f8d38
parent6803d385ee0fd9ff748eb7caf2965629e1ad035a
    Reviewed by Maciej.

        - Fix for <rdar://problem/4707489> After timers fix, crash below RenderLayer::autoscroll after moving/destroying active <input type="text">
          and <rdar://problem/4707519> After timers fix, crash below RenderLayer::autoscroll after moving/destroying active textarea

        * rendering/RenderLayer.cpp: (WebCore::RenderLayer::~RenderLayer): If the renderer is being autoscrolled, then stop the autoscroll timer.
        * rendering/RenderListBox.cpp: (WebCore::RenderListBox::~RenderListBox): ditto.

        * page/Frame.cpp: Added getter and setter for the renderer being autoscrolled.
        (WebCore::Frame::handleAutoscroll):
        (WebCore::Frame::autoscrollTimerFired):
        (WebCore::Frame::autoscrollRenderer):
        (WebCore::Frame::setAutoscrollRenderer):
        (WebCore::Frame::stopAutoscrollTimer):
        * page/Frame.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/Frame.cpp
WebCore/page/Frame.h
WebCore/rendering/RenderLayer.cpp
WebCore/rendering/RenderListBox.cpp