Changeset 153418 in webkit
- Timestamp:
- Jul 28, 2013, 11:23:55 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r153413 r153418 1 2013-07-28 Andreas Kling <akling@apple.com> 2 3 Don't update the text track override CSS every time a media element is created. 4 <http://webkit.org/b/119199> 5 <rdar://problem/14572855> 6 7 Reviewed by Darin Adler. 8 9 We should only have to update the CSS if the accessibility caption preferences are changed. 10 This was forcing a full style recalc in every Document any time a media element is instantiated. 11 12 * page/CaptionUserPreferencesMediaAF.cpp: 13 (WebCore::CaptionUserPreferencesMediaAF::setInterestedInCaptionPreferenceChanges): 14 1 15 2013-07-28 Andy Estes <aestes@apple.com> 2 16 -
trunk/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp
r152861 r153418 236 236 m_listeningForPreferenceChanges = true; 237 237 CFNotificationCenterAddObserver(CFNotificationCenterGetLocalCenter(), this, userCaptionPreferencesChangedNotificationCallback, kMAXCaptionAppearanceSettingsChangedNotification, 0, CFNotificationSuspensionBehaviorCoalesce); 238 } 239 240 updateCaptionStyleSheetOveride(); 238 updateCaptionStyleSheetOveride(); 239 } 241 240 } 242 241
Note:
See TracChangeset
for help on using the changeset viewer.