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

Unified Diff: Source/core/testing/InternalSettings.cpp

Issue 250923003: Remove always-false settings for text track selection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: simplify more Created 6 years, 8 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/testing/InternalSettings.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/InternalSettings.cpp
diff --git a/Source/core/testing/InternalSettings.cpp b/Source/core/testing/InternalSettings.cpp
index 8e6a7500b56920a384b85cbba819d29e773e5fd1..eb67522da8a943360ee1faaec04647b0b8187174 100644
--- a/Source/core/testing/InternalSettings.cpp
+++ b/Source/core/testing/InternalSettings.cpp
@@ -71,9 +71,6 @@ InternalSettings::Backup::Backup(Settings* settings)
, m_originalMockScrollbarsEnabled(settings->mockScrollbarsEnabled())
, m_langAttributeAwareFormControlUIEnabled(RuntimeEnabledFeatures::langAttributeAwareFormControlUIEnabled())
, m_imagesEnabled(settings->imagesEnabled())
- , m_shouldDisplaySubtitles(settings->shouldDisplaySubtitles())
- , m_shouldDisplayCaptions(settings->shouldDisplayCaptions())
- , m_shouldDisplayTextDescriptions(settings->shouldDisplayTextDescriptions())
, m_defaultVideoPosterURL(settings->defaultVideoPosterURL())
, m_originalCompositorDrivenAcceleratedScrollEnabled(settings->compositorDrivenAcceleratedScrollingEnabled())
, m_originalLayerSquashingEnabled(settings->layerSquashingEnabled())
@@ -96,9 +93,6 @@ void InternalSettings::Backup::restoreTo(Settings* settings)
settings->setMockScrollbarsEnabled(m_originalMockScrollbarsEnabled);
RuntimeEnabledFeatures::setLangAttributeAwareFormControlUIEnabled(m_langAttributeAwareFormControlUIEnabled);
settings->setImagesEnabled(m_imagesEnabled);
- settings->setShouldDisplaySubtitles(m_shouldDisplaySubtitles);
- settings->setShouldDisplayCaptions(m_shouldDisplayCaptions);
- settings->setShouldDisplayTextDescriptions(m_shouldDisplayTextDescriptions);
settings->setDefaultVideoPosterURL(m_defaultVideoPosterURL);
settings->setCompositorDrivenAcceleratedScrollingEnabled(m_originalCompositorDrivenAcceleratedScrollEnabled);
settings->setLayerSquashingEnabled(m_originalLayerSquashingEnabled);
« no previous file with comments | « Source/core/testing/InternalSettings.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698