| Index: third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp
|
| diff --git a/third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp b/third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp
|
| index 44ada4026dcc7e8027318b275cf0d9406dfc4271..6d65b1f52ccd4063cef464350b7d56b539b1a9cd 100644
|
| --- a/third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp
|
| @@ -80,14 +80,17 @@ void XSLStyleSheetResource::didAddClient(ResourceClient* c)
|
| static_cast<StyleSheetResourceClient*>(c)->setXSLStyleSheet(resourceRequest().url(), response().url(), m_sheet);
|
| }
|
|
|
| -void XSLStyleSheetResource::checkNotify()
|
| +void XSLStyleSheetResource::checkNotify(MarkFinishedOption markFinishedOption)
|
| {
|
| if (m_data.get())
|
| m_sheet = decodedText();
|
|
|
| ResourceClientWalker<StyleSheetResourceClient> w(clients());
|
| - while (StyleSheetResourceClient* c = w.next())
|
| + while (StyleSheetResourceClient* c = w.next()) {
|
| + if (markFinishedOption == MarkFinishedOption::ShouldMarkFinished)
|
| + markClientFinished(c);
|
| c->setXSLStyleSheet(resourceRequest().url(), response().url(), m_sheet);
|
| + }
|
| }
|
|
|
| } // namespace blink
|
|
|