| Index: Source/core/platform/Scrollbar.cpp
|
| diff --git a/Source/core/platform/Scrollbar.cpp b/Source/core/platform/Scrollbar.cpp
|
| index a5fd76f2a5861dced72a39e7ef94fa3ce4260158..556a50c8708c50262b0c589d5e65e6554d99dc6c 100644
|
| --- a/Source/core/platform/Scrollbar.cpp
|
| +++ b/Source/core/platform/Scrollbar.cpp
|
| @@ -33,7 +33,6 @@
|
| #include "core/platform/graphics/GraphicsContext.h"
|
|
|
| // FIXME: The following #includes are a layering violation and should be removed.
|
| -#include "core/accessibility/AXObjectCache.h"
|
| #include "core/page/EventHandler.h"
|
| #include "core/frame/Frame.h"
|
| #include "core/frame/FrameView.h"
|
| @@ -93,9 +92,6 @@ Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orient
|
|
|
| Scrollbar::~Scrollbar()
|
| {
|
| - if (AXObjectCache* cache = existingAXObjectCache())
|
| - cache->remove(this);
|
| -
|
| stopTimerIfNeeded();
|
|
|
| m_theme->unregisterScrollbar(this);
|
| @@ -558,14 +554,6 @@ bool Scrollbar::isWindowActive() const
|
| return m_scrollableArea && m_scrollableArea->isActive();
|
| }
|
|
|
| -AXObjectCache* Scrollbar::existingAXObjectCache() const
|
| -{
|
| - if (!parentScrollView())
|
| - return 0;
|
| -
|
| - return parentScrollView()->axObjectCache();
|
| -}
|
| -
|
| void Scrollbar::invalidateRect(const IntRect& rect)
|
| {
|
| if (suppressInvalidation())
|
|
|