-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=78056 <rdar://problem/10247932> Reviewed by Sam Weinig. * page/scrolling/ScrollingCoordinator.cpp: (WebCore::ScrollingCoordinator::frameViewLayoutUpdated): Actually set the non-fast scrollable region on the scrolling tree state. * page/scrolling/ScrollingTree.cpp: (WebCore::ScrollingTree::tryToHandleWheelEvent): Check if the wheel event's position is inside the non-fast-scrollable region and return false if it is. (WebCore::ScrollingTree::updateMainFrameScrollPosition): Store the cached main frame scroll position so we can use it in tryToHandleWheelEvent. * platform/graphics/Region.cpp: * platform/graphics/Region.h: Add a simple contains(const IntPoint&) member function. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
858c9c88