Fix typo CaptionUserPreferences::updateCaptionStyleSheetOveride
https://bugs.webkit.org/show_bug.cgi?id=157544
Patch by Joseph Pecoraro <pecoraro@apple.com> on 2016-05-10
Reviewed by Darin Adler.
* page/CaptionUserPreferences.cpp:
(WebCore::CaptionUserPreferences::setCaptionsStyleSheetOverride):
(WebCore::CaptionUserPreferences::updateCaptionStyleSheetOverride):
(WebCore::CaptionUserPreferences::updateCaptionStyleSheetOveride): Deleted.
* page/CaptionUserPreferences.h:
* page/CaptionUserPreferencesMediaAF.cpp:
(WebCore::CaptionUserPreferencesMediaAF::updateTimerFired):
(WebCore::CaptionUserPreferencesMediaAF::captionPreferencesChanged):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@200673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/page/CaptionUserPreferences.cpp b/Source/WebCore/page/CaptionUserPreferences.cpp
index 935c1fb..1e96a12 100644
--- a/Source/WebCore/page/CaptionUserPreferences.cpp
+++ b/Source/WebCore/page/CaptionUserPreferences.cpp
@@ -293,10 +293,10 @@
void CaptionUserPreferences::setCaptionsStyleSheetOverride(const String& override)
{
m_captionsStyleSheetOverride = override;
- updateCaptionStyleSheetOveride();
+ updateCaptionStyleSheetOverride();
}
-void CaptionUserPreferences::updateCaptionStyleSheetOveride()
+void CaptionUserPreferences::updateCaptionStyleSheetOverride()
{
String captionsOverrideStyleSheet = captionsStyleSheetOverride();
for (auto& page : m_pageGroup.pages())
diff --git a/Source/WebCore/page/CaptionUserPreferences.h b/Source/WebCore/page/CaptionUserPreferences.h
index 77309dd..fb52fde 100644
--- a/Source/WebCore/page/CaptionUserPreferences.h
+++ b/Source/WebCore/page/CaptionUserPreferences.h
@@ -98,7 +98,7 @@
PageGroup& pageGroup() const { return m_pageGroup; }
protected:
- void updateCaptionStyleSheetOveride();
+ void updateCaptionStyleSheetOverride();
void beginBlockingNotifications();
void endBlockingNotifications();
diff --git a/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp b/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp
index 8bc029d..be36b9a 100644
--- a/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp
+++ b/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp
@@ -213,7 +213,7 @@
void CaptionUserPreferencesMediaAF::updateTimerFired()
{
- updateCaptionStyleSheetOveride();
+ updateCaptionStyleSheetOverride();
}
void CaptionUserPreferencesMediaAF::setInterestedInCaptionPreferenceChanges()
@@ -247,7 +247,7 @@
return;
if (m_listeningForPreferenceChanges)
- updateCaptionStyleSheetOveride();
+ updateCaptionStyleSheetOverride();
CaptionUserPreferences::captionPreferencesChanged();
}