[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
rjw
rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:02:21 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 12c8fd176258e76e25151206545b36ea8b1eb1ef
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Oct 16 21:59:13 2003 +0000
Fixed 3453991. We weren't setting the array cursor correctly after changing
capacity.
Reviewed by John.
* ChangeLog:
* History.subproj/WebBackForwardList.m:
(-[WebBackForwardList setCapacity:]):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5193 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index a043f62..ecceb38 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,14 @@
+2003-10-16 Richard Williamson <rjw at apple.com>
+
+ Fixed 3453991. We weren't setting the array cursor correctly after changing
+ capacity.
+
+ Reviewed by John.
+
+ * ChangeLog:
+ * History.subproj/WebBackForwardList.m:
+ (-[WebBackForwardList setCapacity:]):
+
=== Safari-110 ===
2003-10-16 Richard Williamson <rjw at apple.com>
diff --git a/WebKit/History.subproj/WebBackForwardList.m b/WebKit/History.subproj/WebBackForwardList.m
index c0213b4..346c676 100644
--- a/WebKit/History.subproj/WebBackForwardList.m
+++ b/WebKit/History.subproj/WebBackForwardList.m
@@ -197,6 +197,9 @@
[_private->entries removeObjectsInRange: forwardRange];
currSize -= forwardRange.length;
}
+ if (_private->current > (int)([_private->entries count] - 1))
+ _private->current = [_private->entries count] - 1;
+
_private->maximumSize = size;
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list