⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 120404 in webkit


Ignore:
Timestamp:
Jun 14, 2012, 11:16:14 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] Selection - Crash when manipulating selection by dragging handle
https://bugs.webkit.org/show_bug.cgi?id=89160

RIMBUG:164970
Avoid to set position in shadow tree to the new selection's base. It
crashes when setting a shadow position to a selection' base.

Patch by Sean Wang <Xuewen.Wang@torchmobile.com.cn> on 2012-06-14
Reviewed by Antonio Gomes.

  • WebKitSupport/SelectionHandler.cpp:

(BlackBerry::WebKit::visiblePositionForPointIgnoringClipping):

Location:
trunk/Source/WebKit/blackberry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/ChangeLog

    r120399 r120404  
     12012-06-14  Sean Wang  <Xuewen.Wang@torchmobile.com.cn>
     2
     3        [BlackBerry] Selection - Crash when manipulating selection by dragging handle
     4        https://bugs.webkit.org/show_bug.cgi?id=89160
     5
     6        RIMBUG:164970
     7        Avoid to set position in shadow tree to the new selection's base. It
     8        crashes when setting a shadow position to a selection' base.
     9
     10        Reviewed by Antonio Gomes.
     11
     12        * WebKitSupport/SelectionHandler.cpp:
     13        (BlackBerry::WebKit::visiblePositionForPointIgnoringClipping):
     14
    1152012-06-14  Mary Wu  <mary.wu@torchmobile.com.cn>
    216
  • trunk/Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp

    r118785 r120404  
    153153    // visiblePositionAtPoint which which passes ignoreClipping=true.
    154154    // See RIM Bug #4315.
    155     HitTestResult result = frame.eventHandler()->hitTestResultAtPoint(framePoint, true /* allowShadowContent */, true /* ignoreClipping */);
     155    HitTestResult result = frame.eventHandler()->hitTestResultAtPoint(framePoint, false /* allowShadowContent */, true /* ignoreClipping */);
    156156
    157157    Node* node = result.innerNode();
Note: See TracChangeset for help on using the changeset viewer.