Title: [228064] branches/safari-605-branch/Source/WebKit
Revision
228064
Author
jmarc...@apple.com
Date
2018-02-04 18:19:06 -0800 (Sun, 04 Feb 2018)

Log Message

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

Modified Paths

Diff

Modified: branches/safari-605-branch/Source/WebKit/ChangeLog (228063 => 228064)


--- branches/safari-605-branch/Source/WebKit/ChangeLog	2018-02-05 02:19:04 UTC (rev 228063)
+++ branches/safari-605-branch/Source/WebKit/ChangeLog	2018-02-05 02:19:06 UTC (rev 228064)
@@ -1,5 +1,21 @@
 2018-02-04  Jason Marcell  <jmarc...@apple.com>
 
+        Cherry-pick r227990. rdar://problem/37145451
+
+    2018-02-01  David Kilzer  <ddkil...@apple.com>
+
+            REGRESSION (r222824): UI process crashes in WebKit::WebBackForwardList::backItem const
+            <https://webkit.org/b/182409>
+            <rdar://problem/35495094>
+
+            Reviewed by Alex Christensen.
+
+            * UIProcess/WebBackForwardList.cpp:
+            (WebKit::WebBackForwardList::goToItem): Fix typo so the for loop
+            actually checks each value in m_entries.
+
+2018-02-04  Jason Marcell  <jmarc...@apple.com>
+
         Cherry-pick r227927. rdar://problem/37145549
 
     2018-01-31  Tim Horton  <timothy_hor...@apple.com>

Modified: branches/safari-605-branch/Source/WebKit/UIProcess/WebBackForwardList.cpp (228063 => 228064)


--- branches/safari-605-branch/Source/WebKit/UIProcess/WebBackForwardList.cpp	2018-02-05 02:19:04 UTC (rev 228063)
+++ branches/safari-605-branch/Source/WebKit/UIProcess/WebBackForwardList.cpp	2018-02-05 02:19:06 UTC (rev 228064)
@@ -199,7 +199,7 @@
         m_entries.remove(m_currentIndex);
         targetIndex = notFound;
         for (size_t i = 0; i < m_entries.size(); ++i) {
-            if (m_entries[0].ptr() == &item) {
+            if (m_entries[i].ptr() == &item) {
                 targetIndex = i;
                 break;
             }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to