Title: [161425] trunk/Source/WebCore
Revision
161425
Author
commit-qu...@webkit.org
Date
2014-01-07 07:24:52 -0800 (Tue, 07 Jan 2014)

Log Message

Remove some extra includes from XML.
https://bugs.webkit.org/show_bug.cgi?id=126572

Patch by László Langó <llango.u-sze...@partner.samsung.com> on 2014-01-07
Reviewed by Anders Carlsson.

No new tests, no functionality changed.

* xml/XMLHttpRequest.cpp:
* xml/XMLHttpRequestUpload.cpp:
* xml/XMLHttpRequestUpload.h:
* xml/XPathEvaluator.cpp:
* xml/XPathExpression.cpp:
* xml/XPathExpressionNode.cpp:
* xml/XPathFunctions.cpp:
* xml/XPathNodeSet.cpp:
* xml/XPathParser.cpp:
* xml/XPathPath.cpp:
* xml/XPathPredicate.cpp:
* xml/XPathPredicate.h:
* xml/XPathResult.cpp:
* xml/XPathValue.cpp:
* xml/XPathVariableReference.cpp:
* xml/XSLImportRule.cpp:
* xml/XSLStyleSheetLibxslt.cpp:
* xml/XSLTProcessorLibxslt.cpp:
* xml/parser/XMLDocumentParser.cpp:
* xml/parser/XMLDocumentParserLibxml2.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (161424 => 161425)


--- trunk/Source/WebCore/ChangeLog	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/ChangeLog	2014-01-07 15:24:52 UTC (rev 161425)
@@ -1,3 +1,33 @@
+2014-01-07  László Langó  <llango.u-sze...@partner.samsung.com>
+
+        Remove some extra includes from XML.
+        https://bugs.webkit.org/show_bug.cgi?id=126572
+
+        Reviewed by Anders Carlsson.
+
+        No new tests, no functionality changed.
+
+        * xml/XMLHttpRequest.cpp:
+        * xml/XMLHttpRequestUpload.cpp:
+        * xml/XMLHttpRequestUpload.h:
+        * xml/XPathEvaluator.cpp:
+        * xml/XPathExpression.cpp:
+        * xml/XPathExpressionNode.cpp:
+        * xml/XPathFunctions.cpp:
+        * xml/XPathNodeSet.cpp:
+        * xml/XPathParser.cpp:
+        * xml/XPathPath.cpp:
+        * xml/XPathPredicate.cpp:
+        * xml/XPathPredicate.h:
+        * xml/XPathResult.cpp:
+        * xml/XPathValue.cpp:
+        * xml/XPathVariableReference.cpp:
+        * xml/XSLImportRule.cpp:
+        * xml/XSLStyleSheetLibxslt.cpp:
+        * xml/XSLTProcessorLibxslt.cpp:
+        * xml/parser/XMLDocumentParser.cpp:
+        * xml/parser/XMLDocumentParserLibxml2.cpp:
+
 2014-01-07  Gyuyoung Kim  <gyuyoung....@samsung.com>
 
         Add toHTMLTableSectionElement() functions, and use it

Modified: trunk/Source/WebCore/xml/XMLHttpRequest.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XMLHttpRequest.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XMLHttpRequest.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -31,8 +31,6 @@
 #include "DOMImplementation.h"
 #include "Event.h"
 #include "EventException.h"
-#include "EventListener.h"
-#include "EventNames.h"
 #include "ExceptionCode.h"
 #include "File.h"
 #include "HTMLDocument.h"

Modified: trunk/Source/WebCore/xml/XMLHttpRequestUpload.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XMLHttpRequestUpload.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XMLHttpRequestUpload.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -28,8 +28,6 @@
 
 #include "Event.h"
 #include "EventException.h"
-#include "EventNames.h"
-#include "XMLHttpRequest.h"
 #include "XMLHttpRequestProgressEvent.h"
 #include <wtf/Assertions.h>
 #include <wtf/text/AtomicString.h>

Modified: trunk/Source/WebCore/xml/XMLHttpRequestUpload.h (161424 => 161425)


--- trunk/Source/WebCore/xml/XMLHttpRequestUpload.h	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XMLHttpRequestUpload.h	2014-01-07 15:24:52 UTC (rev 161425)
@@ -26,16 +26,11 @@
 #ifndef XMLHttpRequestUpload_h
 #define XMLHttpRequestUpload_h
 
-#include "EventListener.h"
-#include "EventNames.h"
-#include "EventTarget.h"
 #include "XMLHttpRequest.h"
 #include <wtf/Forward.h>
 #include <wtf/HashMap.h>
 #include <wtf/RefCounted.h>
 #include <wtf/RefPtr.h>
-#include <wtf/Vector.h>
-#include <wtf/text/AtomicStringHash.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/xml/XPathEvaluator.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XPathEvaluator.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XPathEvaluator.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -29,7 +29,6 @@
 
 #include "ExceptionCode.h"
 #include "NativeXPathNSResolver.h"
-#include "Node.h"
 #include "XPathExpression.h"
 #include "XPathResult.h"
 #include "XPathUtil.h"

Modified: trunk/Source/WebCore/xml/XPathExpression.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XPathExpression.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XPathExpression.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -30,7 +30,6 @@
 #include "Document.h"
 #include "ExceptionCode.h"
 #include "XPathException.h"
-#include "XPathExpressionNode.h"
 #include "XPathNSResolver.h"
 #include "XPathParser.h"
 #include "XPathResult.h"

Modified: trunk/Source/WebCore/xml/XPathExpressionNode.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XPathExpressionNode.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XPathExpressionNode.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -27,7 +27,6 @@
 #include "config.h"
 #include "XPathExpressionNode.h"
 
-#include "Node.h"
 #include <wtf/NeverDestroyed.h>
 #include <wtf/StdLibExtras.h>
 

Modified: trunk/Source/WebCore/xml/XPathFunctions.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XPathFunctions.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XPathFunctions.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -33,7 +33,6 @@
 #include "TreeScope.h"
 #include "XMLNames.h"
 #include "XPathUtil.h"
-#include "XPathValue.h"
 #include <wtf/MathExtras.h>
 #include <wtf/NeverDestroyed.h>
 #include <wtf/text/StringBuilder.h>

Modified: trunk/Source/WebCore/xml/XPathNodeSet.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XPathNodeSet.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XPathNodeSet.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -28,7 +28,6 @@
 
 #include "Attr.h"
 #include "Element.h"
-#include "Node.h"
 #include "NodeTraversal.h"
 
 namespace WebCore {

Modified: trunk/Source/WebCore/xml/XPathParser.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XPathParser.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XPathParser.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -33,7 +33,6 @@
 #include "XPathException.h"
 #include "XPathNSResolver.h"
 #include "XPathPath.h"
-#include "XPathStep.h"
 #include <wtf/NeverDestroyed.h>
 #include <wtf/StdLibExtras.h>
 #include <wtf/text/StringHash.h>

Modified: trunk/Source/WebCore/xml/XPathPath.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XPathPath.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XPathPath.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -31,7 +31,6 @@
 #include "Document.h"
 #include "XPathPredicate.h"
 #include "XPathStep.h"
-#include "XPathValue.h"
 
 namespace WebCore {
 namespace XPath {

Modified: trunk/Source/WebCore/xml/XPathPredicate.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XPathPredicate.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XPathPredicate.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -28,10 +28,8 @@
 #include "config.h"
 #include "XPathPredicate.h"
 
-#include "Node.h"
 #include "XPathFunctions.h"
 #include "XPathUtil.h"
-#include "XPathValue.h"
 #include <math.h>
 #include <wtf/MathExtras.h>
 

Modified: trunk/Source/WebCore/xml/XPathPredicate.h (161424 => 161425)


--- trunk/Source/WebCore/xml/XPathPredicate.h	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XPathPredicate.h	2014-01-07 15:24:52 UTC (rev 161425)
@@ -28,7 +28,6 @@
 #define XPathPredicate_h
 
 #include "XPathExpressionNode.h"
-#include "XPathValue.h"
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/xml/XPathResult.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XPathResult.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XPathResult.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -28,7 +28,6 @@
 #include "XPathResult.h"
 
 #include "Document.h"
-#include "Node.h"
 #include "ExceptionCode.h"
 #include "XPathEvaluator.h"
 #include "XPathException.h"

Modified: trunk/Source/WebCore/xml/XPathValue.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XPathValue.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XPathValue.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -27,7 +27,6 @@
 #include "config.h"
 #include "XPathValue.h"
 
-#include "Node.h"
 #include "XPathExpressionNode.h"
 #include "XPathUtil.h"
 #include <limits>

Modified: trunk/Source/WebCore/xml/XPathVariableReference.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XPathVariableReference.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XPathVariableReference.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -27,8 +27,6 @@
 #include "config.h"
 #include "XPathVariableReference.h"
 
-#include "Node.h"
-#include "XPathValue.h"
 
 namespace WebCore {
 namespace XPath {

Modified: trunk/Source/WebCore/xml/XSLImportRule.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XSLImportRule.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XSLImportRule.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -28,7 +28,6 @@
 #include "CachedResourceLoader.h"
 #include "CachedResourceRequest.h"
 #include "Document.h"
-#include "XSLStyleSheet.h"
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/xml/XSLStyleSheetLibxslt.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XSLStyleSheetLibxslt.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XSLStyleSheetLibxslt.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -20,14 +20,12 @@
  */
 
 #include "config.h"
-#include "XSLStyleSheet.h"
 
 #if ENABLE(XSLT)
 
 #include "CachedResourceLoader.h"
 #include "Document.h"
 #include "Frame.h"
-#include "Node.h"
 #include "Page.h"
 #include "PageConsole.h"
 #include "TransformSource.h"
@@ -35,7 +33,6 @@
 #include "XMLDocumentParserScope.h"
 #include "XSLImportRule.h"
 #include "XSLTProcessor.h"
-#include <wtf/text/CString.h>
 
 #include <libxml/uri.h>
 #include <libxslt/xsltutils.h>

Modified: trunk/Source/WebCore/xml/XSLTProcessorLibxslt.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/XSLTProcessorLibxslt.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/XSLTProcessorLibxslt.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -37,7 +37,6 @@
 #include "SecurityOrigin.h"
 #include "TransformSource.h"
 #include "XMLDocumentParser.h"
-#include "XSLStyleSheet.h"
 #include "XSLTExtensions.h"
 #include "XSLTUnicodeSort.h"
 #include "markup.h"
@@ -47,7 +46,6 @@
 #include <libxslt/xsltutils.h>
 #include <wtf/Assertions.h>
 #include <wtf/Vector.h>
-#include <wtf/text/CString.h>
 #include <wtf/text/StringBuffer.h>
 #include <wtf/unicode/UTF8.h>
 

Modified: trunk/Source/WebCore/xml/parser/XMLDocumentParser.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/parser/XMLDocumentParser.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/parser/XMLDocumentParser.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -48,7 +48,6 @@
 #include "ScriptSourceCode.h"
 #include "TextResourceDecoder.h"
 #include "TreeDepthLimit.h"
-#include "XMLErrors.h"
 #include <wtf/Ref.h>
 #include <wtf/StringExtras.h>
 #include <wtf/Threading.h>

Modified: trunk/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp (161424 => 161425)


--- trunk/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp	2014-01-07 15:10:16 UTC (rev 161424)
+++ trunk/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp	2014-01-07 15:24:52 UTC (rev 161425)
@@ -58,13 +58,11 @@
 #include "TransformSource.h"
 #include "XMLNSNames.h"
 #include "XMLDocumentParserScope.h"
-#include <libxml/parser.h>
 #include <libxml/parserInternals.h>
 #include <wtf/Ref.h>
 #include <wtf/StringExtras.h>
 #include <wtf/Threading.h>
 #include <wtf/Vector.h>
-#include <wtf/text/CString.h>
 #include <wtf/unicode/UTF8.h>
 
 #if ENABLE(XSLT)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to