| Index: Source/core/html/HTMLMetaElement-in.cpp
|
| diff --git a/Source/core/html/HTMLMetaElement-in.cpp b/Source/core/html/HTMLMetaElement-in.cpp
|
| index f63a6f834ff1d3ca965cb4912eb1d4b076adc737..d63713d0ee7dffdbb1dfc52cb83bfdb52c03fc16 100644
|
| --- a/Source/core/html/HTMLMetaElement-in.cpp
|
| +++ b/Source/core/html/HTMLMetaElement-in.cpp
|
| @@ -449,7 +449,7 @@ static bool inDocumentHead(HTMLMetaElement* element)
|
| return false;
|
|
|
| for (Element* current = element; current; current = current->parentElement()) {
|
| - if (current->hasTagName(HTMLNames::headTag))
|
| + if (isHTMLHeadElement(*current))
|
| return true;
|
| }
|
| return false;
|
|
|