Index: Source/web/WebPluginScrollbarImpl.cpp |
diff --git a/Source/web/WebPluginScrollbarImpl.cpp b/Source/web/WebPluginScrollbarImpl.cpp |
index 5da18b4ebeee3a4b99746ffdd9e1761b95cfdf6e..094a1b8e622ce58cc84a2f8ebc249dfb7209999e 100644 |
--- a/Source/web/WebPluginScrollbarImpl.cpp |
+++ b/Source/web/WebPluginScrollbarImpl.cpp |
@@ -323,7 +323,7 @@ bool WebPluginScrollbarImpl::onMouseWheel(const WebInputEvent& event) |
{ |
WebMouseWheelEvent mousewheel = static_cast<const WebMouseWheelEvent&>(event); |
PlatformWheelEventBuilder platformEvent(m_scrollbar.get(), mousewheel); |
- return m_group->handleWheel(platformEvent).didScroll; |
+ return m_group->handleWheel(platformEvent).didScroll(); |
} |
bool WebPluginScrollbarImpl::onKeyDown(const WebInputEvent& event) |
@@ -358,7 +358,7 @@ bool WebPluginScrollbarImpl::onKeyDown(const WebInputEvent& event) |
blink::ScrollGranularity scrollGranularity; |
if (WebViewImpl::mapKeyCodeForScroll(keyCode, &scrollDirection, &scrollGranularity)) { |
// Will return false if scroll direction wasn't compatible with this scrollbar. |
- return m_group->scroll(scrollDirection, scrollGranularity); |
+ return m_group->scroll(scrollDirection, scrollGranularity).didScroll; |
} |
return false; |
} |