ASSIGNED 115108
CaptionUserPreferences does unnecessary work
https://bugs.webkit.org/show_bug.cgi?id=115108
Summary CaptionUserPreferences does unnecessary work
Eric Carlson
Reported 2013-04-24 08:22:57 PDT
CaptionUserPreferences generates a style sheet and adds it to the PageGroup every time the caption preferences changed notification fires or a media element is instantiated. This should be optimized to do nothing when the generated sheet is the same as the PageGroup's caption style sheet.
Attachments
Proposed patch (5.52 KB, patch)
2013-04-24 09:05 PDT, Eric Carlson
simon.fraser: review+
Radar WebKit Bug Importer
Comment 1 2013-04-24 08:23:11 PDT
Eric Carlson
Comment 2 2013-04-24 09:05:59 PDT
Created attachment 199491 [details] Proposed patch
Eric Carlson
Comment 3 2013-04-29 06:44:47 PDT
I am going to hold off committing this while I investigate a side effect of these changes.
Note You need to log in before you can comment on or make changes to this bug.