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

Unified Diff: third_party/WebKit/Source/core/html/HTMLObjectElement.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/HTMLObjectElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp b/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
index f307a3f0b225247167f67113ecccaa54d5159d08..1375274f183062cc992e47b610b39fc6fa06b7f4 100644
--- a/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
@@ -314,7 +314,7 @@ void HTMLObjectElement::removedFrom(ContainerNode* insertionPoint)
void HTMLObjectElement::childrenChanged(const ChildrenChange& change)
{
- if (inShadowIncludingDocument() && !useFallbackContent()) {
+ if (isConnected() && !useFallbackContent()) {
setNeedsWidgetUpdate(true);
lazyReattachIfNeeded();
}
@@ -359,7 +359,7 @@ void HTMLObjectElement::renderFallbackContent()
if (useFallbackContent())
return;
- if (!inShadowIncludingDocument())
+ if (!isConnected())
return;
// Before we give up and use fallback content, check to see if this is a MIME type issue.
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp ('k') | third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698