Changeset 228064 in webkit


Ignore:
Timestamp:
Feb 4, 2018 6:19:06 PM (6 years ago)
Author:
jmarcell@apple.com
Message:

Cherry-pick r227990. rdar://problem/37145451

Location:
branches/safari-605-branch/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-605-branch/Source/WebKit/ChangeLog

    r228054 r228064  
     12018-02-04  Jason Marcell  <jmarcell@apple.com>
     2
     3        Cherry-pick r227990. rdar://problem/37145451
     4
     5    2018-02-01  David Kilzer  <ddkilzer@apple.com>
     6
     7            REGRESSION (r222824): UI process crashes in WebKit::WebBackForwardList::backItem const
     8            <https://webkit.org/b/182409>
     9            <rdar://problem/35495094>
     10
     11            Reviewed by Alex Christensen.
     12
     13            * UIProcess/WebBackForwardList.cpp:
     14            (WebKit::WebBackForwardList::goToItem): Fix typo so the for loop
     15            actually checks each value in m_entries.
     16
    1172018-02-04  Jason Marcell  <jmarcell@apple.com>
    218
  • branches/safari-605-branch/Source/WebKit/UIProcess/WebBackForwardList.cpp

    r223861 r228064  
    200200        targetIndex = notFound;
    201201        for (size_t i = 0; i < m_entries.size(); ++i) {
    202             if (m_entries[0].ptr() == &item) {
     202            if (m_entries[i].ptr() == &item) {
    203203                targetIndex = i;
    204204                break;
Note: See TracChangeset for help on using the changeset viewer.