| Index: third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp b/third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp
|
| index 87c9a45c53b39b6cd24fc17e0f6c09d15c7aada9..93424e4c4f5e8b37871910ff796540b19f30cdcb 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp
|
| @@ -456,7 +456,7 @@ void HTMLMetaElement::didNotifySubtreeInsertionsToDocument()
|
|
|
| static bool inDocumentHead(HTMLMetaElement* element)
|
| {
|
| - if (!element->inShadowIncludingDocument())
|
| + if (!element->isConnected())
|
| return false;
|
|
|
| return Traversal<HTMLHeadElement>::firstAncestor(*element);
|
| @@ -464,7 +464,7 @@ static bool inDocumentHead(HTMLMetaElement* element)
|
|
|
| void HTMLMetaElement::process()
|
| {
|
| - if (!inShadowIncludingDocument())
|
| + if (!isConnected())
|
| return;
|
|
|
| // All below situations require a content attribute (which can be the empty string).
|
|
|