Commit 70d94889 authored by sullivan's avatar sullivan

- fixed 3138673 -- reproducible crash in JavaScript

        Reviewed by Darin, OK'ed by Don.

        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::setTitle):
	Check for nil view or nil part before dereferencing.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7c6e5520
2003-01-03 John Sullivan <sullivan@apple.com>
- fixed 3138673 -- reproducible crash in JavaScript
Reviewed by Darin, OK'ed by Don.
* khtml/xml/dom_docimpl.cpp:
(DocumentImpl::setTitle):
Check for nil view or nil part before dereferencing.
2003-01-03 David Hyatt <hyatt@apple.com>
Fix for percentage table heights. A check was missing to
......
2003-01-03 John Sullivan <sullivan@apple.com>
- fixed 3138673 -- reproducible crash in JavaScript
Reviewed by Darin, OK'ed by Don.
* khtml/xml/dom_docimpl.cpp:
(DocumentImpl::setTitle):
Check for nil view or nil part before dereferencing.
2003-01-03 David Hyatt <hyatt@apple.com>
Fix for percentage table heights. A check was missing to
......
......@@ -528,6 +528,9 @@ void DocumentImpl::setTitle(DOMString _title)
{
m_title = _title;
if (!view() || !view()->part())
return;
#if APPLE_CHANGES
KWQ(view()->part())->setTitle(_title);
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment