| Index: Source/core/html/HTMLDocument.cpp
|
| diff --git a/Source/core/html/HTMLDocument.cpp b/Source/core/html/HTMLDocument.cpp
|
| index db35acb669369d5d19d697049a55b0c43499fdd3..61e37d55acfae06a3647cec27682d304aaf9686d 100644
|
| --- a/Source/core/html/HTMLDocument.cpp
|
| +++ b/Source/core/html/HTMLDocument.cpp
|
| @@ -114,7 +114,7 @@ void HTMLDocument::setDesignMode(const String& value)
|
| HTMLBodyElement* HTMLDocument::htmlBodyElement() const
|
| {
|
| HTMLElement* body = this->body();
|
| - return (body && body->hasTagName(bodyTag)) ? toHTMLBodyElement(body) : 0;
|
| + return isHTMLBodyElement(body) ? toHTMLBodyElement(body) : 0;
|
| }
|
|
|
| const AtomicString& HTMLDocument::bodyAttributeValue(const QualifiedName& name) const
|
|
|