| Index: Source/core/xml/XSLTProcessor.cpp
|
| diff --git a/Source/core/xml/XSLTProcessor.cpp b/Source/core/xml/XSLTProcessor.cpp
|
| index d590c582e6da5518f06242eef9ded11f61d6b3e8..d97c01fedf5c2925ba512fe9252a2223f755d040 100644
|
| --- a/Source/core/xml/XSLTProcessor.cpp
|
| +++ b/Source/core/xml/XSLTProcessor.cpp
|
| @@ -86,7 +86,7 @@ PassRefPtrWillBeRawPtr<Document> XSLTProcessor::createDocumentFromSource(const S
|
| result->setTransformSourceDocument(oldDocument.get());
|
| result->updateSecurityOrigin(oldDocument->securityOrigin());
|
| result->setCookieURL(oldDocument->cookieURL());
|
| - result->contentSecurityPolicy()->copyStateFrom(oldDocument->contentSecurityPolicy());
|
| + result->initContentSecurityPolicy();
|
| }
|
| } else {
|
| result = LocalDOMWindow::createDocument(sourceMIMEType, init, forceXHTML);
|
|
|