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

Unified Diff: third_party/WebKit/Source/core/html/HTMLBaseElement.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/HTMLBaseElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp b/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp
index 3b94b3b343422401b0779ae447cb7c4d12dd63ac..b1009a2059c91eb26f1338f93206cd2689fd9280 100644
--- a/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp
@@ -50,7 +50,7 @@ void HTMLBaseElement::parseAttribute(const QualifiedName& name, const AtomicStri
Node::InsertionNotificationRequest HTMLBaseElement::insertedInto(ContainerNode* insertionPoint)
{
HTMLElement::insertedInto(insertionPoint);
- if (insertionPoint->inShadowIncludingDocument())
+ if (insertionPoint->isConnected())
document().processBaseElement();
return InsertionDone;
}
@@ -58,7 +58,7 @@ Node::InsertionNotificationRequest HTMLBaseElement::insertedInto(ContainerNode*
void HTMLBaseElement::removedFrom(ContainerNode* insertionPoint)
{
HTMLElement::removedFrom(insertionPoint);
- if (insertionPoint->inShadowIncludingDocument())
+ if (insertionPoint->isConnected())
document().processBaseElement();
}

Powered by Google App Engine
This is Rietveld 408576698