Title: [153445] branches/safari-537-branch/Source/WebCore
Revision
153445
Author
[email protected]
Date
2013-07-29 16:31:34 -0700 (Mon, 29 Jul 2013)

Log Message

Merged r153418.  <rdar://problem/14572855>

Modified Paths

Diff

Modified: branches/safari-537-branch/Source/WebCore/ChangeLog (153444 => 153445)


--- branches/safari-537-branch/Source/WebCore/ChangeLog	2013-07-29 23:00:54 UTC (rev 153444)
+++ branches/safari-537-branch/Source/WebCore/ChangeLog	2013-07-29 23:31:34 UTC (rev 153445)
@@ -1,3 +1,21 @@
+2013-07-29  Lucas Forschler  <[email protected]>
+
+        Merge r153418
+
+    2013-07-28  Andreas Kling  <[email protected]>
+
+            Don't update the text track override CSS every time a media element is created.
+            <http://webkit.org/b/119199>
+            <rdar://problem/14572855>
+
+            Reviewed by Darin Adler.
+
+            We should only have to update the CSS if the accessibility caption preferences are changed.
+            This was forcing a full style recalc in every Document any time a media element is instantiated.
+
+            * page/CaptionUserPreferencesMediaAF.cpp:
+            (WebCore::CaptionUserPreferencesMediaAF::setInterestedInCaptionPreferenceChanges):
+
 2013-07-28  Lucas Forschler  <[email protected]>
 
         Merge r153399

Modified: branches/safari-537-branch/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp (153444 => 153445)


--- branches/safari-537-branch/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp	2013-07-29 23:00:54 UTC (rev 153444)
+++ branches/safari-537-branch/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp	2013-07-29 23:31:34 UTC (rev 153445)
@@ -257,9 +257,8 @@
     if (!m_listeningForPreferenceChanges) {
         m_listeningForPreferenceChanges = true;
         CFNotificationCenterAddObserver(CFNotificationCenterGetLocalCenter(), this, userCaptionPreferencesChangedNotificationCallback, kMAXCaptionAppearanceSettingsChangedNotification, 0, CFNotificationSuspensionBehaviorCoalesce);
+        updateCaptionStyleSheetOveride();
     }
-    
-    updateCaptionStyleSheetOveride();
 }
 
 void CaptionUserPreferencesMediaAF::captionPreferencesChanged()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to