| 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.
|
|
|