[webkit-changes] cvs commit: WebCore/khtml/xml dom_elementimpl.cpp
Vicki
vicki at opensource.apple.com
Thu Sep 8 15:54:36 PDT 2005
vicki 05/09/08 15:54:36
Modified: . ChangeLog
khtml/xml dom_elementimpl.cpp
Log:
Reviewed by John Sullivan.
- fixed <rdar://problem/4168089> CRASH: Using A9 Maps new interface (also occurs on google maps)
* khtml/xml/dom_elementimpl.cpp:
(ElementImpl::getAttributeNS): add a check for the document, before checking to see if this is an HTML document
Revision Changes Path
1.107 +9 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -r1.106 -r1.107
--- ChangeLog 8 Sep 2005 21:35:27 -0000 1.106
+++ ChangeLog 8 Sep 2005 22:54:35 -0000 1.107
@@ -1,3 +1,12 @@
+2005-09-08 Vicki Murley <vicki at apple.com>
+
+ Reviewed by John Sullivan.
+
+ - fixed <rdar://problem/4168089> CRASH: Using A9 Maps new interface (also occurs on google maps)
+
+ * khtml/xml/dom_elementimpl.cpp:
+ (ElementImpl::getAttributeNS): add a check for the document, before checking to see if this is an HTML document
+
2005-09-08 Justin Garcia <justin.garcia at apple.com>
Reviewed by darin
1.80 +1 -1 WebCore/khtml/xml/dom_elementimpl.cpp
Index: dom_elementimpl.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/xml/dom_elementimpl.cpp,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- dom_elementimpl.cpp 4 Sep 2005 09:55:07 -0000 1.79
+++ dom_elementimpl.cpp 8 Sep 2005 22:54:35 -0000 1.80
@@ -358,7 +358,7 @@
const DOMString &localName) const
{
DOMString ln(localName);
- if (getDocument()->isHTMLDocument())
+ if (getDocument() && getDocument()->isHTMLDocument())
ln = localName.lower();
QualifiedName name(nullAtom, ln.impl(), namespaceURI.impl());
return getAttribute(name);
More information about the webkit-changes
mailing list