| Index: third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp
|
| diff --git a/third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp b/third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp
|
| index ce089131c4371aca3d122afcc5e4a2b9fd61cc7c..4ac2292de31d1d8751b0df92e71053ecbf3b2fcd 100644
|
| --- a/third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp
|
| +++ b/third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp
|
| @@ -343,14 +343,17 @@ bool XSLTProcessor::transformToString(Node* sourceNode,
|
|
|
| xsltSecurityPrefsPtr securityPrefs = xsltNewSecurityPrefs();
|
| // Read permissions are checked by docLoaderFunc.
|
| - if (0 != xsltSetSecurityPrefs(securityPrefs, XSLT_SECPREF_WRITE_FILE,
|
| - xsltSecurityForbid))
|
| + if (0 !=
|
| + xsltSetSecurityPrefs(securityPrefs, XSLT_SECPREF_WRITE_FILE,
|
| + xsltSecurityForbid))
|
| CRASH();
|
| - if (0 != xsltSetSecurityPrefs(securityPrefs, XSLT_SECPREF_CREATE_DIRECTORY,
|
| - xsltSecurityForbid))
|
| + if (0 !=
|
| + xsltSetSecurityPrefs(securityPrefs, XSLT_SECPREF_CREATE_DIRECTORY,
|
| + xsltSecurityForbid))
|
| CRASH();
|
| - if (0 != xsltSetSecurityPrefs(securityPrefs, XSLT_SECPREF_WRITE_NETWORK,
|
| - xsltSecurityForbid))
|
| + if (0 !=
|
| + xsltSetSecurityPrefs(securityPrefs, XSLT_SECPREF_WRITE_NETWORK,
|
| + xsltSecurityForbid))
|
| CRASH();
|
| if (0 != xsltSetCtxtSecurityPrefs(securityPrefs, transformContext))
|
| CRASH();
|
|
|