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

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

Issue 180173002: Rename text track methods to make way for audio & video tracks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/html/track/TextTrackList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTrackElement.cpp
diff --git a/Source/core/html/HTMLTrackElement.cpp b/Source/core/html/HTMLTrackElement.cpp
index 1ca347984bf9d2ce48ddb2d3b89372d9019e7fe3..d8836c1fdfb8a9df08033f71b1b9f32d4372ca6c 100644
--- a/Source/core/html/HTMLTrackElement.cpp
+++ b/Source/core/html/HTMLTrackElement.cpp
@@ -79,14 +79,14 @@ Node::InsertionNotificationRequest HTMLTrackElement::insertedInto(ContainerNode*
HTMLElement::insertedInto(insertionPoint);
HTMLMediaElement* parent = mediaElement();
if (insertionPoint == parent)
- parent->didAddTrack(this);
+ parent->didAddTrackElement(this);
return InsertionDone;
}
void HTMLTrackElement::removedFrom(ContainerNode* insertionPoint)
{
if (!parentNode() && isHTMLMediaElement(*insertionPoint))
- toHTMLMediaElement(insertionPoint)->didRemoveTrack(this);
+ toHTMLMediaElement(insertionPoint)->didRemoveTrackElement(this);
HTMLElement::removedFrom(insertionPoint);
}
@@ -313,4 +313,3 @@ HTMLMediaElement* HTMLTrackElement::mediaElement() const
}
}
-
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/html/track/TextTrackList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698