[Mac] never update caption user style sheet during parsing
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Apr 2015 23:21:06 +0000 (23:21 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Apr 2015 23:21:06 +0000 (23:21 +0000)
commit85df53371fbec22644afcfba62aec0b79a6b25d6
treedae26e73f4fff7add725c0e69acd83320b7d6dbe
parent9e6c549a9977f85bfb2f3b9bdb36b3667ef097b0
[Mac] never update caption user style sheet during parsing
https://bugs.webkit.org/show_bug.cgi?id=143499

Reviewed by Jer Noble.

* page/CaptionUserPreferencesMediaAF.cpp:
(WebCore::CaptionUserPreferencesMediaAF::setInterestedInCaptionPreferenceChanges):
(WebCore::CaptionUserPreferencesMediaAF::captionPreferencesChanged):  Ignore a
    "preferences changed" notification fired while registering for said notification, we
    already create and insert the style sheet after a brief delay anyway.
* page/CaptionUserPreferencesMediaAF.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp
Source/WebCore/page/CaptionUserPreferencesMediaAF.h