Index: Source/core/testing/InternalSettings.cpp |
diff --git a/Source/core/testing/InternalSettings.cpp b/Source/core/testing/InternalSettings.cpp |
index f7c896f5e1026b44bad940b6900dc9be57aa5d38..36cb1acded5f239d43323df9ec4026124f76b512 100644 |
--- a/Source/core/testing/InternalSettings.cpp |
+++ b/Source/core/testing/InternalSettings.cpp |
@@ -342,6 +342,12 @@ void InternalSettings::setDefaultVideoPosterURL(const String& url, ExceptionStat |
settings()->setDefaultVideoPosterURL(url); |
} |
+void InternalSettings::setTextTracksEnabled(bool enabled, ExceptionState& exceptionState) |
+{ |
+ InternalSettingsGuardForSettings(); |
+ settings()->setTextTracksEnabled(enabled); |
+} |
+ |
DEFINE_TRACE(InternalSettings) |
{ |
visitor->trace(m_page); |