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

Side by Side Diff: Source/core/xml/XSLTProcessor.cpp

Issue 431453004: wtf/Vector.h included more than necessary (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 unified diff | Download patch
« no previous file with comments | « Source/core/xml/XPathUtil.h ('k') | Source/core/xml/XSLTProcessorLibxslt.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of the XSL implementation. 2 * This file is part of the XSL implementation.
3 * 3 *
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple, Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple, Inc. All rights reserved.
5 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@webkit.org> 5 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@webkit.org>
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 15 matching lines...) Expand all
26 #include "core/dom/DOMImplementation.h" 26 #include "core/dom/DOMImplementation.h"
27 #include "core/dom/DocumentEncodingData.h" 27 #include "core/dom/DocumentEncodingData.h"
28 #include "core/dom/DocumentFragment.h" 28 #include "core/dom/DocumentFragment.h"
29 #include "core/editing/markup.h" 29 #include "core/editing/markup.h"
30 #include "core/frame/LocalDOMWindow.h" 30 #include "core/frame/LocalDOMWindow.h"
31 #include "core/frame/FrameView.h" 31 #include "core/frame/FrameView.h"
32 #include "core/frame/LocalFrame.h" 32 #include "core/frame/LocalFrame.h"
33 #include "core/frame/csp/ContentSecurityPolicy.h" 33 #include "core/frame/csp/ContentSecurityPolicy.h"
34 #include "platform/weborigin/SecurityOrigin.h" 34 #include "platform/weborigin/SecurityOrigin.h"
35 #include "wtf/Assertions.h" 35 #include "wtf/Assertions.h"
36 #include "wtf/Vector.h"
37 36
38 namespace blink { 37 namespace blink {
39 38
40 static inline void transformTextStringToXHTMLDocumentString(String& text) 39 static inline void transformTextStringToXHTMLDocumentString(String& text)
41 { 40 {
42 // Modify the output so that it is a well-formed XHTML document with a <pre> tag enclosing the text. 41 // Modify the output so that it is a well-formed XHTML document with a <pre> tag enclosing the text.
43 text.replaceWithLiteral('&', "&amp;"); 42 text.replaceWithLiteral('&', "&amp;");
44 text.replaceWithLiteral('<', "&lt;"); 43 text.replaceWithLiteral('<', "&lt;");
45 text = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" 44 text = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
46 "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www .w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n" 45 "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www .w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 m_parameters.clear(); 158 m_parameters.clear();
160 } 159 }
161 160
162 void XSLTProcessor::trace(Visitor* visitor) 161 void XSLTProcessor::trace(Visitor* visitor)
163 { 162 {
164 visitor->trace(m_stylesheet); 163 visitor->trace(m_stylesheet);
165 visitor->trace(m_stylesheetRootNode); 164 visitor->trace(m_stylesheetRootNode);
166 } 165 }
167 166
168 } // namespace blink 167 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/xml/XPathUtil.h ('k') | Source/core/xml/XSLTProcessorLibxslt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698