Index: third_party/WebKit/Source/core/html/HTMLSourceElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLSourceElement.cpp b/third_party/WebKit/Source/core/html/HTMLSourceElement.cpp |
index 8e5b1eff884fd288affd495ea7532307a657bbe7..36f820d299f1073d8edcbd0bb8af45f89efc27ff 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLSourceElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLSourceElement.cpp |
@@ -108,20 +108,20 @@ |
if (isHTMLMediaElement(parent)) |
toHTMLMediaElement(parent)->sourceWasAdded(this); |
if (isHTMLPictureElement(parent)) |
- toHTMLPictureElement(parent)->sourceOrMediaChanged(this); |
+ toHTMLPictureElement(parent)->sourceOrMediaChanged(); |
return InsertionDone; |
} |
-void HTMLSourceElement::removedFrom(ContainerNode* insertionPoint, Node* next) |
+void HTMLSourceElement::removedFrom(ContainerNode* removalRoot) |
{ |
Element* parent = parentElement(); |
- if (!parent && insertionPoint->isElementNode()) |
- parent = toElement(insertionPoint); |
+ if (!parent && removalRoot->isElementNode()) |
+ parent = toElement(removalRoot); |
if (isHTMLMediaElement(parent)) |
toHTMLMediaElement(parent)->sourceWasRemoved(this); |
if (isHTMLPictureElement(parent)) |
- toHTMLPictureElement(parent)->sourceOrMediaChanged(this, next); |
- HTMLElement::removedFrom(insertionPoint, next); |
+ toHTMLPictureElement(parent)->sourceOrMediaChanged(); |
+ HTMLElement::removedFrom(removalRoot); |
} |
void HTMLSourceElement::setSrc(const String& url) |
@@ -179,7 +179,7 @@ |
if (name == srcsetAttr || name == sizesAttr || name == mediaAttr || name == typeAttr) { |
Element* parent = parentElement(); |
if (isHTMLPictureElement(parent)) |
- toHTMLPictureElement(parent)->sourceOrMediaChanged(this); |
+ toHTMLPictureElement(parent)->sourceOrMediaChanged(); |
} |
} |
@@ -187,7 +187,7 @@ |
{ |
Element* parent = parentElement(); |
if (isHTMLPictureElement(parent)) |
- toHTMLPictureElement(parent)->sourceOrMediaChanged(this); |
+ toHTMLPictureElement(parent)->sourceOrMediaChanged(); |
} |
DEFINE_TRACE(HTMLSourceElement) |