| Index: Source/core/loader/cache/CachedXSLStyleSheet.cpp
|
| diff --git a/Source/core/loader/cache/CachedXSLStyleSheet.cpp b/Source/core/loader/cache/CachedXSLStyleSheet.cpp
|
| index 88d87c73e0442d189c97447d6b6a11cc89bfa236..fb36ba23dbc4f5dff7d9375be3a764f0004f410c 100644
|
| --- a/Source/core/loader/cache/CachedXSLStyleSheet.cpp
|
| +++ b/Source/core/loader/cache/CachedXSLStyleSheet.cpp
|
| @@ -47,7 +47,7 @@ CachedXSLStyleSheet::CachedXSLStyleSheet(const ResourceRequest& resourceRequest)
|
| }
|
|
|
| void CachedXSLStyleSheet::didAddClient(CachedResourceClient* c)
|
| -{
|
| +{
|
| ASSERT(c->resourceClientType() == CachedStyleSheetClient::expectedType());
|
| if (!isLoading())
|
| static_cast<CachedStyleSheetClient*>(c)->setXSLStyleSheet(m_resourceRequest.url(), m_response.url(), m_sheet);
|
| @@ -69,7 +69,7 @@ void CachedXSLStyleSheet::checkNotify()
|
| m_sheet = m_decoder->decode(m_data->data(), encodedSize());
|
| m_sheet.append(m_decoder->flush());
|
| }
|
| -
|
| +
|
| CachedResourceClientWalker<CachedStyleSheetClient> w(m_clients);
|
| while (CachedStyleSheetClient* c = w.next())
|
| c->setXSLStyleSheet(m_resourceRequest.url(), m_response.url(), m_sheet);
|
|
|