| Index: sky/engine/core/html/HTMLSourceElement.cpp
|
| diff --git a/sky/engine/core/html/HTMLSourceElement.cpp b/sky/engine/core/html/HTMLSourceElement.cpp
|
| index ed6ee7574803c0215be43f8ad868b28d38e10cee..35e1816dce40bec72c73207bbebfb3f71bafa604 100644
|
| --- a/sky/engine/core/html/HTMLSourceElement.cpp
|
| +++ b/sky/engine/core/html/HTMLSourceElement.cpp
|
| @@ -33,7 +33,6 @@
|
| #include "core/dom/Document.h"
|
| #include "core/events/Event.h"
|
| #include "core/events/EventSender.h"
|
| -#include "core/html/HTMLMediaElement.h"
|
| #include "core/html/HTMLPictureElement.h"
|
| #include "platform/Logging.h"
|
|
|
| @@ -86,8 +85,6 @@ Node::InsertionNotificationRequest HTMLSourceElement::insertedInto(ContainerNode
|
| {
|
| HTMLElement::insertedInto(insertionPoint);
|
| Element* parent = parentElement();
|
| - if (isHTMLMediaElement(parent))
|
| - toHTMLMediaElement(parent)->sourceWasAdded(this);
|
| if (isHTMLPictureElement(parent))
|
| toHTMLPictureElement(parent)->sourceOrMediaChanged();
|
| return InsertionDone;
|
| @@ -98,8 +95,6 @@ void HTMLSourceElement::removedFrom(ContainerNode* removalRoot)
|
| Element* parent = parentElement();
|
| if (!parent && removalRoot->isElementNode())
|
| parent = toElement(removalRoot);
|
| - if (isHTMLMediaElement(parent))
|
| - toHTMLMediaElement(parent)->sourceWasRemoved(this);
|
| if (isHTMLPictureElement(parent))
|
| toHTMLPictureElement(parent)->sourceOrMediaChanged();
|
| HTMLElement::removedFrom(removalRoot);
|
|
|