Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 92fb1746ea222ae65d5486031ff7b204df8188d7..c95203af307f0fe4704d891326681b3b7d835e4a 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -144,6 +144,7 @@ |
#include "core/html/HTMLIFrameElement.h" |
#include "core/html/HTMLInputElement.h" |
#include "core/html/HTMLLinkElement.h" |
+#include "core/html/HTMLMediaElement.h" |
#include "core/html/HTMLMetaElement.h" |
#include "core/html/HTMLScriptElement.h" |
#include "core/html/HTMLStyleElement.h" |
@@ -660,6 +661,11 @@ void Document::mediaQueryAffectingValueChanged() |
InspectorInstrumentation::mediaQueryResultChanged(this); |
} |
+void Document::textTrackKindUserPreferenceChanged() |
+{ |
+ HTMLMediaElement::setTextTrackKindUserPreferenceForAllMediaElements(this); |
+} |
+ |
void Document::setCompatibilityMode(CompatibilityMode mode) |
{ |
if (m_compatibilityModeLocked || mode == m_compatibilityMode) |