| Index: sky/engine/platform/scroll/Scrollbar.cpp
|
| diff --git a/sky/engine/platform/scroll/Scrollbar.cpp b/sky/engine/platform/scroll/Scrollbar.cpp
|
| index fad195010ac3cd2650879ad776ed2dee6d6833f0..dc7e1aa2c98150de42ad4faa663f862437184eaa 100644
|
| --- a/sky/engine/platform/scroll/Scrollbar.cpp
|
| +++ b/sky/engine/platform/scroll/Scrollbar.cpp
|
| @@ -513,13 +513,6 @@ void Scrollbar::invalidatePart(ScrollbarPart part)
|
| invalidateRect(result);
|
| }
|
|
|
| -void Scrollbar::paintScrollCorner(GraphicsContext* context, const IntRect& cornerRect)
|
| -{
|
| - if (cornerRect.isEmpty())
|
| - return;
|
| - blink::Platform::current()->themeEngine()->paint(context->canvas(), blink::WebThemeEngine::PartScrollbarCorner, blink::WebThemeEngine::StateNormal, blink::WebRect(cornerRect), 0);
|
| -}
|
| -
|
| bool Scrollbar::shouldCenterOnThumb(const PlatformMouseEvent& evt)
|
| {
|
| return blink::Platform::current()->scrollbarBehavior()->shouldCenterOnThumb(static_cast<blink::WebScrollbarBehavior::Button>(evt.button()), evt.shiftKey(), evt.altKey());
|
|
|