[BlackBerry] Deleting the pendingSelectionCandidate on the wrong thread causes an...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Jun 2013 21:42:30 +0000 (21:42 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Jun 2013 21:42:30 +0000 (21:42 +0000)
commit3e053735c91df01498fcfaa5103d8a484cfc5048
tree9ff731f1bd115b27ed432d6a0cb4874bde55cfeb
parent6144730074e411b4dea0677a0edda3e69c65fd6a
[BlackBerry] Deleting the pendingSelectionCandidate on the wrong thread causes an assert.
https://bugs.webkit.org/show_bug.cgi?id=117276

Patch by Genevieve Mak <gmak@rim.com> on 2013-06-05
Reviewed by Rob Buis.

Reviewed Internally by Nima Ghanavatian.
PR #342399
Store and delete the selectionScrollView in webkit which is what we already do for
scrolling subframes.

* Api/InRegionScroller.cpp:
(BlackBerry::WebKit::InRegionScrollerPrivate::InRegionScrollerPrivate):
(BlackBerry::WebKit::InRegionScrollerPrivate::resetSelectionScrollView):
(WebKit):
(BlackBerry::WebKit::InRegionScrollerPrivate::clearDocumentData):
(BlackBerry::WebKit::InRegionScrollerPrivate::calculateInRegionScrollableAreasForPoint):
(BlackBerry::WebKit::InRegionScrollerPrivate::updateSelectionScrollView):
(BlackBerry::WebKit::InRegionScrollerPrivate::firstScrollableInRegionForNode):
* Api/InRegionScroller_p.h:
(InRegionScrollerPrivate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151241 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/blackberry/Api/InRegionScroller.cpp
Source/WebKit/blackberry/Api/InRegionScroller_p.h
Source/WebKit/blackberry/ChangeLog