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

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:56:08 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 9e04d6dc637e391157089fabd818989f883c155e
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Oct 30 22:50:32 2002 +0000

    	- fixed crash when you open an empty window and just hit tab, tab, tab
    
            * kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::nextKeyViewInFrame): Check for nil.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2513 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index b35e485..0914bdb 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,5 +1,11 @@
 2002-10-30  Darin Adler  <darin at apple.com>
 
+	- fixed crash when you open an empty window and just hit tab, tab, tab
+
+        * kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::nextKeyViewInFrame): Check for nil.
+
+2002-10-30  Darin Adler  <darin at apple.com>
+
 	- fixed 3083982 -- Logging into AOL gives null view, crash
 
 	I fixed the crash part. Not the "gives null view" part.
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index b35e485..0914bdb 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,11 @@
 2002-10-30  Darin Adler  <darin at apple.com>
 
+	- fixed crash when you open an empty window and just hit tab, tab, tab
+
+        * kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::nextKeyViewInFrame): Check for nil.
+
+2002-10-30  Darin Adler  <darin at apple.com>
+
 	- fixed 3083982 -- Logging into AOL gives null view, crash
 
 	I fixed the crash part. Not the "gives null view" part.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index b35e485..0914bdb 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,11 @@
 2002-10-30  Darin Adler  <darin at apple.com>
 
+	- fixed crash when you open an empty window and just hit tab, tab, tab
+
+        * kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::nextKeyViewInFrame): Check for nil.
+
+2002-10-30  Darin Adler  <darin at apple.com>
+
 	- fixed 3083982 -- Logging into AOL gives null view, crash
 
 	I fixed the crash part. Not the "gives null view" part.
diff --git a/WebCore/kwq/KWQKHTMLPart.mm b/WebCore/kwq/KWQKHTMLPart.mm
index 7bb6cea..31b7191 100644
--- a/WebCore/kwq/KWQKHTMLPart.mm
+++ b/WebCore/kwq/KWQKHTMLPart.mm
@@ -337,6 +337,9 @@ QString KWQKHTMLPart::userAgent() const
 NSView *KWQKHTMLPart::nextKeyViewInFrame(NodeImpl *node, KWQSelectionDirection direction)
 {
     DocumentImpl *doc = document();
+    if (!doc) {
+        return nil;
+    }
     for (;;) {
         node = direction == KWQSelectingNext
             ? doc->nextFocusNode(node) : doc->previousFocusNode(node);

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list