[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 07:54:39 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 09334905071c06218c7b4d75bbd60d70d6e4869d
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Aug 29 21:52:59 2003 +0000
Fixed 3400807. Don't release state associated with the current b/f item. We shouldn't normally have page cache state associated with the current item (3401376). This fix guarantees that we won't prematurely release the page cache state for the current item.
Reviewed byJohn Sullivan.
* History.subproj/WebBackForwardList.m:
(-[WebBackForwardList _clearPageCache]):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 0c762a7..a6925a9 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,12 @@
+2003-08-29 Richard Williamson <rjw at apple.com>
+
+ Fixed 3400807. Don't release state associated with the current b/f item. We shouldn't normally have page cache state associated with the current item (3401376). This fix guarantees that we won't prematurely release the page cache state for the current item.
+
+ Reviewed byJohn Sullivan.
+
+ * History.subproj/WebBackForwardList.m:
+ (-[WebBackForwardList _clearPageCache]):
+
2003-08-28 Richard Williamson <rjw at apple.com>
Fixed 3399736. Fixed several problems with WebView/WebPreferences
diff --git a/WebKit/History.subproj/WebBackForwardList.m b/WebKit/History.subproj/WebBackForwardList.m
index b6c9a49..c0213b4 100644
--- a/WebKit/History.subproj/WebBackForwardList.m
+++ b/WebKit/History.subproj/WebBackForwardList.m
@@ -237,8 +237,14 @@
- (void)_clearPageCache
{
int i;
+ WebHistoryItem *currentItem = [self currentItem];
+
for (i = 0; i < (int)[_private->entries count]; i++) {
- [[_private->entries objectAtIndex:i] setHasPageCache:NO];
+ WebHistoryItem *item;
+ // Don't clear the current item. Objects are still in use.
+ item = [_private->entries objectAtIndex:i];
+ if (item != currentItem)
+ [item setHasPageCache:NO];
}
[WebHistoryItem _releaseAllPendingPageCaches];
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list