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

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

Issue 2149893003: Rename Node::inShadowIncludingDocument() to Node::isConnected() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Created 4 years, 5 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 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).
« 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