diff options
Diffstat (limited to 'WebCore/loader/CachedCSSStyleSheet.cpp')
-rw-r--r-- | WebCore/loader/CachedCSSStyleSheet.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/WebCore/loader/CachedCSSStyleSheet.cpp b/WebCore/loader/CachedCSSStyleSheet.cpp index 11d1213..4c466fa 100644 --- a/WebCore/loader/CachedCSSStyleSheet.cpp +++ b/WebCore/loader/CachedCSSStyleSheet.cpp @@ -49,10 +49,8 @@ CachedCSSStyleSheet::~CachedCSSStyleSheet() { } -void CachedCSSStyleSheet::addClient(CachedResourceClient *c) +void CachedCSSStyleSheet::didAddClient(CachedResourceClient *c) { - CachedResource::addClient(c); - if (!m_loading) c->setCSSStyleSheet(m_url, m_decoder->encoding().name(), this); } |