From f99d1e82f281725015f03a5d090a36a13b946551 Mon Sep 17 00:00:00 2001 From: sullivan Date: Sat, 10 Jun 2006 13:38:38 +0000 Subject: [PATCH] WebView's initWithCoder: method does not set useBackForwardList correctly Reviewed by John Sullivan. * WebView/WebView.m: (-[WebView initWithCoder:]): Make sure that the function variable useBackForwardList is correctly set, so that the copy in the _private ivar is set. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14804 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- WebKit/ChangeLog | 13 +++++++++++++ WebKit/WebView/WebView.m | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog index 7e0e3e4fec2..cfa632f6e85 100644 --- a/WebKit/ChangeLog +++ b/WebKit/ChangeLog @@ -1,3 +1,16 @@ +2006-06-10 Graham Dennis + + + WebView's initWithCoder: method does not set useBackForwardList + correctly + + Reviewed by John Sullivan. + + * WebView/WebView.m: + (-[WebView initWithCoder:]): + Make sure that the function variable useBackForwardList is correctly + set, so that the copy in the _private ivar is set. + 2006-06-09 David Hyatt Rename updateFocusState to updateActiveState. diff --git a/WebKit/WebView/WebView.m b/WebKit/WebView/WebView.m index 11ce7256f03..0b550c488f2 100644 --- a/WebKit/WebView/WebView.m +++ b/WebKit/WebView/WebView.m @@ -1638,7 +1638,7 @@ - (id)initWithCoder:(NSCoder *)decoder frameName = [decoder decodeObjectForKey:@"FrameName"]; groupName = [decoder decodeObjectForKey:@"GroupName"]; preferences = [decoder decodeObjectForKey:@"Preferences"]; - result->_private->useBackForwardList = [decoder decodeBoolForKey:@"UseBackForwardList"]; + useBackForwardList = [decoder decodeBoolForKey:@"UseBackForwardList"]; } else { int version; [decoder decodeValueOfObjCType:@encode(int) at:&version]; -- GitLab