Changeset 151289 in webkit


Ignore:
Timestamp:
Jun 6, 2013 1:49:34 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] Crash in InRegionScrollerPrivate::clearDocumentData
https://bugs.webkit.org/show_bug.cgi?id=117317

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

PR #348994
Need to check the scrollableArea instead of asserting because in this case for the
selection subframe it is allowed to be null.

  • Api/InRegionScroller.cpp:

(BlackBerry::WebKit::InRegionScrollerPrivate::clearDocumentData):

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/Api/InRegionScroller.cpp

    r151241 r151289  
    114114{
    115115    InRegionScrollableArea* scrollableArea = static_cast<InRegionScrollableArea*>(m_selectionScrollView);
    116     ASSERT(scrollableArea);
    117     if (scrollableArea->document() == documentGoingAway)
     116    if (scrollableArea && scrollableArea->document() == documentGoingAway)
    118117        resetSelectionScrollView();
    119118
  • trunk/Source/WebKit/blackberry/ChangeLog

    r151247 r151289  
     12013-06-06  Genevieve Mak  <gmak@rim.com>
     2
     3        [BlackBerry] Crash in InRegionScrollerPrivate::clearDocumentData
     4        https://bugs.webkit.org/show_bug.cgi?id=117317
     5
     6        Reviewed by Rob Buis.
     7
     8        PR #348994
     9        Need to check the scrollableArea instead of asserting because in this case for the
     10        selection subframe it is allowed to be null.
     11
     12        * Api/InRegionScroller.cpp:
     13        (BlackBerry::WebKit::InRegionScrollerPrivate::clearDocumentData):
     14
    1152013-06-05  Bear Travis  <betravis@adobe.com>
    216
Note: See TracChangeset for help on using the changeset viewer.