Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp

Issue 1858163002: Rename inDocument() to inShadowIncludingDocument() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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).
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLObjectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698