| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 0c62d74ae835d3206f7712a5c853869eb9d488dd..a40ac7a4a5f246499b5940780cf7119209147627 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -143,6 +143,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"
|
| @@ -659,6 +660,11 @@ void Document::mediaQueryAffectingValueChanged()
|
| InspectorInstrumentation::mediaQueryResultChanged(this);
|
| }
|
|
|
| +void Document::textTrackKindUserPreferenceChanged()
|
| +{
|
| + HTMLMediaElement::setTextTrackKindUserPreferenceForAllMediaElements(this);
|
| +}
|
| +
|
| void Document::setCompatibilityMode(CompatibilityMode mode)
|
| {
|
| if (m_compatibilityModeLocked || mode == m_compatibilityMode)
|
|
|