[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:30:25 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit c0d1bd8a16ba11d01f5bab3afa8c0edce1e5e4d2
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Mar 23 21:05:38 2004 +0000

    	Fix for crasher 3598204, previousKeyView was calling nextKeyView instead.
    
            Reviewed by darin
    
            * kwq/KWQTextField.mm:
            (-[KWQTextField previousKeyView]):
            (-[KWQSecureTextField previousKeyView]):
            (-[KWQSearchField previousKeyView]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6246 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index ff037c9..c184ce0 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,14 @@
+2004-03-23  David Hyatt  <hyatt at apple.com>
+
+	Fix for crasher 3598204, previousKeyView was calling nextKeyView instead.
+	
+        Reviewed by darin
+
+        * kwq/KWQTextField.mm:
+        (-[KWQTextField previousKeyView]):
+        (-[KWQSecureTextField previousKeyView]):
+        (-[KWQSearchField previousKeyView]):
+
 2004-03-23  Darin Adler  <darin at apple.com>
 
         Reviewed by Vicki.
diff --git a/WebCore/kwq/KWQTextField.mm b/WebCore/kwq/KWQTextField.mm
index ee11989..6db42a2 100644
--- a/WebCore/kwq/KWQTextField.mm
+++ b/WebCore/kwq/KWQTextField.mm
@@ -164,9 +164,8 @@
     
     [self setHasFocus:NO];
 
-    if ([[[notification userInfo] objectForKey:@"NSTextMovement"] intValue] == NSReturnTextMovement) {
+    if ([[[notification userInfo] objectForKey:@"NSTextMovement"] intValue] == NSReturnTextMovement)
         widget->returnPressed();
-    }
 }
 
 - (void)controlTextDidChange:(NSNotification *)notification
@@ -466,7 +465,7 @@
 - (NSView *)previousKeyView
 {
     if (!inNextValidKeyView)
-	return [super nextKeyView];
+	return [super previousKeyView];
     QWidget* widget = [controller widget];
     if (!widget)
 	return [super previousKeyView];
@@ -608,7 +607,7 @@
 - (NSView *)previousKeyView
 {
     if (!inNextValidKeyView)
-	return [super nextKeyView];
+	return [super previousKeyView];
     QWidget* widget = [controller widget];
     if (!widget)
 	return [super previousKeyView];
@@ -814,7 +813,7 @@
 - (NSView *)previousKeyView
 {
     if (!inNextValidKeyView)
-	return [super nextKeyView];
+	return [super previousKeyView];
     QWidget* widget = [controller widget];
     if (!widget)
 	return [super previousKeyView];

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list