Chromium Code Reviews

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

Issue 993613005: Stop pushing the value of 'default' to LoadableTextTrack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | Source/core/html/track/LoadableTextTrack.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 09187eca5231221b7a844cdbca4a570788f35049..3a0871731d4353a86ac37e08e7e5b6eb71140730 100644
--- a/Source/core/html/HTMLTrackElement.cpp
+++ b/Source/core/html/HTMLTrackElement.cpp
@@ -105,8 +105,6 @@ void HTMLTrackElement::parseAttribute(const QualifiedName& name, const AtomicStr
track()->setLanguage(value);
} else if (name == idAttr) {
track()->setId(value);
- } else if (name == defaultAttr) {
- track()->setIsDefault(!value.isNull());
}
HTMLElement::parseAttribute(name, value);
« no previous file with comments | « no previous file | Source/core/html/track/LoadableTextTrack.h » ('j') | no next file with comments »

Powered by Google App Engine