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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTrackElement.cpp

Issue 1511523002: Align HTMLImageElement relevant mutations to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix removal issue when a text node is between <source> and <img> Created 5 years 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/HTMLTrackElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTrackElement.cpp b/third_party/WebKit/Source/core/html/HTMLTrackElement.cpp
index 692af721c533bc8f575c19a01157d1f49506cb3d..4fe466a1e3365114b62d904d65eb9760a5b2bdd0 100644
--- a/third_party/WebKit/Source/core/html/HTMLTrackElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTrackElement.cpp
@@ -80,11 +80,11 @@ Node::InsertionNotificationRequest HTMLTrackElement::insertedInto(ContainerNode*
return InsertionDone;
}
-void HTMLTrackElement::removedFrom(ContainerNode* insertionPoint)
+void HTMLTrackElement::removedFrom(ContainerNode* insertionPoint, Node* next)
{
if (!parentNode() && isHTMLMediaElement(*insertionPoint))
toHTMLMediaElement(insertionPoint)->didRemoveTrackElement(this);
- HTMLElement::removedFrom(insertionPoint);
+ HTMLElement::removedFrom(insertionPoint, next);
}
void HTMLTrackElement::parseAttribute(const QualifiedName& name, const AtomicString& oldValue, const AtomicString& value)

Powered by Google App Engine
This is Rietveld 408576698