Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(844)

Unified Diff: third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698