| Index: Source/core/frame/FrameView.cpp
|
| diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
|
| index 7b42005344ae4e68edc7fdc13e88250f1783d6cb..93f08b03d8b376ef17ba26ce6734a49533be39da 100644
|
| --- a/Source/core/frame/FrameView.cpp
|
| +++ b/Source/core/frame/FrameView.cpp
|
| @@ -2907,6 +2907,21 @@ void FrameView::removeScrollableArea(ScrollableArea* scrollableArea)
|
| m_scrollableAreas->remove(scrollableArea);
|
| }
|
|
|
| +void FrameView::addAnimatingScrollableArea(ScrollableArea* scrollableArea)
|
| +{
|
| + ASSERT(scrollableArea);
|
| + if (!m_animatingScrollableAreas)
|
| + m_animatingScrollableAreas = adoptPtr(new ScrollableAreaSet);
|
| + m_animatingScrollableAreas->add(scrollableArea);
|
| +}
|
| +
|
| +void FrameView::removeAnimatingScrollableArea(ScrollableArea* scrollableArea)
|
| +{
|
| + if (!m_animatingScrollableAreas)
|
| + return;
|
| + m_animatingScrollableAreas->remove(scrollableArea);
|
| +}
|
| +
|
| void FrameView::setParent(Widget* parentView)
|
| {
|
| if (parentView == parent())
|
|
|