| Index: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
|
| diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
|
| index 25516fd1809127c4504a402c2cc043782528a81b..eb2e4846a0e7a768aef7ce276443f7e79efc6912 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
|
| +++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
|
| @@ -31,11 +31,6 @@
|
| #include "platform/PlatformMouseEvent.h"
|
| #include "platform/geometry/FloatRect.h"
|
| #include "platform/graphics/paint/CullRect.h"
|
| -// See windowActiveChangedForSnowLeopardOnly() below.
|
| -// TODO(ellyjones): remove this when Snow Leopard support is gone.
|
| -#if OS(MACOSX)
|
| -#include "platform/mac/VersionUtilMac.h"
|
| -#endif
|
| #include "platform/scroll/ScrollAnimatorBase.h"
|
| #include "platform/scroll/ScrollableArea.h"
|
| #include "platform/scroll/ScrollbarTheme.h"
|
| @@ -535,21 +530,6 @@ bool Scrollbar::shouldParticipateInHitTesting()
|
| return m_scrollableArea->scrollAnimator().shouldScrollbarParticipateInHitTesting(*this);
|
| }
|
|
|
| -// Don't use this method. It will be removed later.
|
| -// TODO(ellyjones): remove this method after Snow Leopard support drops.
|
| -void Scrollbar::windowActiveChangedForSnowLeopardOnly()
|
| -{
|
| -#if OS(MACOSX)
|
| - // On Snow Leopard, scrollbars need to be invalidated when the window
|
| - // activity changes so that they take on the "inactive" scrollbar
|
| - // appearance. Later OS X releases do not have such an appearance.
|
| - if (m_theme.invalidateOnWindowActiveChange()) {
|
| - ASSERT(IsOSSnowLeopard());
|
| - invalidate();
|
| - }
|
| -#endif
|
| -}
|
| -
|
| bool Scrollbar::isWindowActive() const
|
| {
|
| return m_scrollableArea && m_scrollableArea->isActive();
|
|
|