Fix crash in fast/dom/dir-no-body.html
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Jun 2007 02:34:16 +0000 (02:34 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Jun 2007 02:34:16 +0000 (02:34 +0000)
commit3171294ed08bac8657f14b89fb37d573a0404306
tree66661de04ceec772beab0dff583c7c17605b180e
parent95af1bdb911754dedd37d194cb20baa98afa2ef7
Fix crash in fast/dom/dir-no-body.html

Reviewed by Mark.

* html/HTMLDocument.cpp:
(WebCore::HTMLDocument::createTokenizer): Don't assume we have a
Frame, since we won't if someone creates an HTMLDocument from JS.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@23679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/html/HTMLDocument.cpp