| 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 41335e85b2ee74627f77c4555a11ab81932bba58..d31bbb831f8422b94b96ad239e2f30ed92ce06ab 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp
|
| @@ -455,7 +455,7 @@ void HTMLMetaElement::didNotifySubtreeInsertionsToDocument()
|
|
|
| static bool inDocumentHead(HTMLMetaElement* element)
|
| {
|
| - if (!element->inDocument())
|
| + if (!element->inShadowIncludingDocument())
|
| return false;
|
|
|
| return Traversal<HTMLHeadElement>::firstAncestor(*element);
|
| @@ -463,7 +463,7 @@ static bool inDocumentHead(HTMLMetaElement* element)
|
|
|
| void HTMLMetaElement::process()
|
| {
|
| - if (!inDocument())
|
| + if (!inShadowIncludingDocument())
|
| return;
|
|
|
| // All below situations require a content attribute (which can be the empty string).
|
|
|