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

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

Issue 2389883005: reflow comments in core/xml* (Closed)
Patch Set: Created 4 years, 2 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/XSLTProcessor.cpp
diff --git a/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp b/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp
index a81fecfa57af81b990982d07b6c65ca2423f72d6..b8fb69958ffbc4977358e345177d4d5847157c71 100644
--- a/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp
+++ b/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp
@@ -38,7 +38,8 @@
namespace blink {
static inline void transformTextStringToXHTMLDocumentString(String& text) {
- // Modify the output so that it is a well-formed XHTML document with a <pre> tag enclosing the text.
+ // Modify the output so that it is a well-formed XHTML document with a <pre>
+ // tag enclosing the text.
text.replace('&', "&amp;");
text.replace('<', "&lt;");
text =
@@ -75,9 +76,9 @@ Document* XSLTProcessor::createDocumentFromSource(const String& sourceString,
if (frame) {
Document* oldDocument = frame->document();
- // Before parsing, we need to save & detach the old document and get the new document
- // in place. Document::shutdown() tears down the FrameView, so remember whether or not
- // there was one.
+ // Before parsing, we need to save & detach the old document and get the new
+ // document in place. Document::shutdown() tears down the FrameView, so
+ // remember whether or not there was one.
bool hasView = frame->view();
oldDocument->shutdown();
// Re-create the FrameView if needed.

Powered by Google App Engine
This is Rietveld 408576698