[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
eric at webkit.org
eric at webkit.org
Wed Dec 22 11:45:32 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit fd61e79d0b349048b7280094cbff17f3b0e2e00a
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Aug 5 22:55:24 2010 +0000
2010-08-05 Eric Seidel <eric at webkit.org>
Reviewed by Nikolas Zimmermann.
Touching SVGNames should only rebuild hundreds of files, not thousands
https://bugs.webkit.org/show_bug.cgi?id=43308
Remove SVGNames.h include from several core SVG header files
which do not need to include it.
One of them, SVGPathSeg.h, required creation of an SVGPathSeg.cpp.
A bunch of SVGPathSeg* could remove PlatformString.h includes if
we moved their toString() methods into the .cpp files.
I re-indented on header to stop check-webkit-style from complaining.
I removed a couple mode lines I saw, since my understanding from
previous webkit-dev threads is that we plan to remove those all.
No functional change, thus no tests.
* Android.mk:
* CMakeLists.txt:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.xcodeproj/project.pbxproj:
* svg/SVGAllInOne.cpp:
* svg/SVGAngle.h:
* svg/SVGPathSeg.cpp: Added.
(WebCore::SVGPathSeg::~SVGPathSeg):
(WebCore::SVGPathSeg::pathSegType):
(WebCore::SVGPathSeg::pathSegTypeAsLetter):
(WebCore::SVGPathSeg::toString):
(WebCore::SVGPathSeg::associatedAttributeName):
(WebCore::SVGPathSegSingleCoord::toString):
* svg/SVGPathSeg.h:
(WebCore::SVGPathSegSingleCoord::SVGPathSegSingleCoord):
* svg/SVGPathSegArc.cpp:
(WebCore::SVGPathSegArc::toString):
* svg/SVGPathSegArc.h:
(WebCore::SVGPathSegArc::SVGPathSegArc):
* svg/SVGPathSegClosePath.h:
(WebCore::SVGPathSegClosePath::create):
(WebCore::SVGPathSegClosePath::pathSegType):
(WebCore::SVGPathSegClosePath::pathSegTypeAsLetter):
(WebCore::SVGPathSegClosePath::toString):
* svg/SVGPathSegCurvetoCubic.h:
* svg/SVGPathSegCurvetoCubicSmooth.h:
* svg/SVGPathSegCurvetoQuadratic.h:
* svg/SVGPathSegCurvetoQuadraticSmooth.h:
* svg/SVGPathSegLineto.h:
* svg/SVGPathSegLinetoHorizontal.h:
* svg/SVGPathSegLinetoVertical.h:
* svg/SVGPathSegMoveto.h:
* svg/SVGTransform.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/Android.mk b/WebCore/Android.mk
index f79aa74..1d5c1eb 100644
--- a/WebCore/Android.mk
+++ b/WebCore/Android.mk
@@ -865,6 +865,7 @@ LOCAL_SRC_FILES := $(LOCAL_SRC_FILES) \
svg/SVGPathBuilder.cpp \
svg/SVGPathElement.cpp \
svg/SVGPathParser.cpp \
+ svg/SVGPathSeg.cpp \
svg/SVGPathSegArc.cpp \
svg/SVGPathSegClosePath.cpp \
svg/SVGPathSegCurvetoCubic.cpp \
diff --git a/WebCore/CMakeLists.txt b/WebCore/CMakeLists.txt
index f611594..ac098b7 100644
--- a/WebCore/CMakeLists.txt
+++ b/WebCore/CMakeLists.txt
@@ -1670,6 +1670,7 @@ IF (ENABLE_SVG)
svg/SVGPathBuilder.cpp
svg/SVGPathElement.cpp
svg/SVGPathParser.cpp
+ svg/SVGPathSeg.cpp
svg/SVGPathSegArc.cpp
svg/SVGPathSegClosePath.cpp
svg/SVGPathSegCurvetoCubic.cpp
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index c9f6222..19a7356 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,59 @@
+2010-08-05 Eric Seidel <eric at webkit.org>
+
+ Reviewed by Nikolas Zimmermann.
+
+ Touching SVGNames should only rebuild hundreds of files, not thousands
+ https://bugs.webkit.org/show_bug.cgi?id=43308
+
+ Remove SVGNames.h include from several core SVG header files
+ which do not need to include it.
+
+ One of them, SVGPathSeg.h, required creation of an SVGPathSeg.cpp.
+ A bunch of SVGPathSeg* could remove PlatformString.h includes if
+ we moved their toString() methods into the .cpp files.
+
+ I re-indented on header to stop check-webkit-style from complaining.
+ I removed a couple mode lines I saw, since my understanding from
+ previous webkit-dev threads is that we plan to remove those all.
+
+ No functional change, thus no tests.
+
+ * Android.mk:
+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.xcodeproj/project.pbxproj:
+ * svg/SVGAllInOne.cpp:
+ * svg/SVGAngle.h:
+ * svg/SVGPathSeg.cpp: Added.
+ (WebCore::SVGPathSeg::~SVGPathSeg):
+ (WebCore::SVGPathSeg::pathSegType):
+ (WebCore::SVGPathSeg::pathSegTypeAsLetter):
+ (WebCore::SVGPathSeg::toString):
+ (WebCore::SVGPathSeg::associatedAttributeName):
+ (WebCore::SVGPathSegSingleCoord::toString):
+ * svg/SVGPathSeg.h:
+ (WebCore::SVGPathSegSingleCoord::SVGPathSegSingleCoord):
+ * svg/SVGPathSegArc.cpp:
+ (WebCore::SVGPathSegArc::toString):
+ * svg/SVGPathSegArc.h:
+ (WebCore::SVGPathSegArc::SVGPathSegArc):
+ * svg/SVGPathSegClosePath.h:
+ (WebCore::SVGPathSegClosePath::create):
+ (WebCore::SVGPathSegClosePath::pathSegType):
+ (WebCore::SVGPathSegClosePath::pathSegTypeAsLetter):
+ (WebCore::SVGPathSegClosePath::toString):
+ * svg/SVGPathSegCurvetoCubic.h:
+ * svg/SVGPathSegCurvetoCubicSmooth.h:
+ * svg/SVGPathSegCurvetoQuadratic.h:
+ * svg/SVGPathSegCurvetoQuadraticSmooth.h:
+ * svg/SVGPathSegLineto.h:
+ * svg/SVGPathSegLinetoHorizontal.h:
+ * svg/SVGPathSegLinetoVertical.h:
+ * svg/SVGPathSegMoveto.h:
+ * svg/SVGTransform.h:
+
2010-08-05 Dirk Schulze <krit at webkit.org>
Unreviewed sort of XCode project file.
diff --git a/WebCore/GNUmakefile.am b/WebCore/GNUmakefile.am
index dc37548..58d6c19 100644
--- a/WebCore/GNUmakefile.am
+++ b/WebCore/GNUmakefile.am
@@ -4053,6 +4053,7 @@ webcore_sources += \
WebCore/svg/SVGPathElement.h \
WebCore/svg/SVGPathParser.cpp \
WebCore/svg/SVGPathParser.h \
+ WebCore/svg/SVGPathSeg.cpp \
WebCore/svg/SVGPathSeg.h \
WebCore/svg/SVGPathSegArc.cpp \
WebCore/svg/SVGPathSegArc.h \
diff --git a/WebCore/WebCore.gypi b/WebCore/WebCore.gypi
index be4585c..bad123e 100644
--- a/WebCore/WebCore.gypi
+++ b/WebCore/WebCore.gypi
@@ -3807,6 +3807,7 @@
'svg/SVGPathElement.h',
'svg/SVGPathParser.cpp',
'svg/SVGPathParser.h',
+ 'svg/SVGPathSeg.cpp',
'svg/SVGPathSeg.h',
'svg/SVGPathSegArc.cpp',
'svg/SVGPathSegArc.h',
diff --git a/WebCore/WebCore.pro b/WebCore/WebCore.pro
index 5cc9c9d..27c76fe 100644
--- a/WebCore/WebCore.pro
+++ b/WebCore/WebCore.pro
@@ -2835,6 +2835,7 @@ contains(DEFINES, ENABLE_SVG=1) {
svg/SVGPathBuilder.cpp \
svg/SVGPathElement.cpp \
svg/SVGPathParser.cpp \
+ svg/SVGPathSeg.cpp \
svg/SVGPathSegArc.cpp \
svg/SVGPathSegClosePath.cpp \
svg/SVGPathSegCurvetoCubic.cpp \
diff --git a/WebCore/WebCore.xcodeproj/project.pbxproj b/WebCore/WebCore.xcodeproj/project.pbxproj
index bb72074..3fd8b9c 100644
--- a/WebCore/WebCore.xcodeproj/project.pbxproj
+++ b/WebCore/WebCore.xcodeproj/project.pbxproj
@@ -3133,6 +3133,7 @@
A8A564A611DC0E59003AC2F0 /* HTMLFormattingElementList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A564A411DC0E59003AC2F0 /* HTMLFormattingElementList.cpp */; };
A8A909AC0CBCD6B50029B807 /* RenderSVGTransformableContainer.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A909AA0CBCD6B50029B807 /* RenderSVGTransformableContainer.h */; };
A8A909AD0CBCD6B50029B807 /* RenderSVGTransformableContainer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A909AB0CBCD6B50029B807 /* RenderSVGTransformableContainer.cpp */; };
+ A8BCFD05120A046100B5F122 /* SVGPathSeg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8BCFD04120A046100B5F122 /* SVGPathSeg.cpp */; };
A8C2280E11D4A59700D5A7D3 /* DocumentParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8C2280D11D4A59700D5A7D3 /* DocumentParser.cpp */; };
A8C228A111D5722E00D5A7D3 /* DecodedDataDocumentParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A8C2289F11D5722E00D5A7D3 /* DecodedDataDocumentParser.h */; };
A8C228A211D5722E00D5A7D3 /* DecodedDataDocumentParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8C228A011D5722E00D5A7D3 /* DecodedDataDocumentParser.cpp */; };
@@ -8762,6 +8763,7 @@
A8A564A411DC0E59003AC2F0 /* HTMLFormattingElementList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLFormattingElementList.cpp; sourceTree = "<group>"; };
A8A909AA0CBCD6B50029B807 /* RenderSVGTransformableContainer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderSVGTransformableContainer.h; sourceTree = "<group>"; };
A8A909AB0CBCD6B50029B807 /* RenderSVGTransformableContainer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderSVGTransformableContainer.cpp; sourceTree = "<group>"; };
+ A8BCFD04120A046100B5F122 /* SVGPathSeg.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGPathSeg.cpp; sourceTree = "<group>"; };
A8C2280D11D4A59700D5A7D3 /* DocumentParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DocumentParser.cpp; sourceTree = "<group>"; };
A8C2289F11D5722E00D5A7D3 /* DecodedDataDocumentParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DecodedDataDocumentParser.h; sourceTree = "<group>"; };
A8C228A011D5722E00D5A7D3 /* DecodedDataDocumentParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DecodedDataDocumentParser.cpp; sourceTree = "<group>"; };
@@ -14943,6 +14945,7 @@
B22277CA0D00BF1E0071B782 /* svg */ = {
isa = PBXGroup;
children = (
+ A8BCFD04120A046100B5F122 /* SVGPathSeg.cpp */,
E46E97860DAAD61B0071E894 /* animation */,
B25598860D00D8B800BB825C /* graphics */,
B22277CB0D00BF1F0071B782 /* ColorDistance.cpp */,
@@ -22386,6 +22389,7 @@
93F19B0508245E59001E9ABC /* XSLTProcessorLibxslt.cpp in Sources */,
E1BE512D0CF6C512002EA959 /* XSLTUnicodeSort.cpp in Sources */,
97DD4D860FDF4D6E00ECF9A4 /* XSSAuditor.cpp in Sources */,
+ A8BCFD05120A046100B5F122 /* SVGPathSeg.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
diff --git a/WebCore/svg/SVGAllInOne.cpp b/WebCore/svg/SVGAllInOne.cpp
index 669300d..acfb6ad 100644
--- a/WebCore/svg/SVGAllInOne.cpp
+++ b/WebCore/svg/SVGAllInOne.cpp
@@ -110,6 +110,7 @@
#include "SVGPathBuilder.cpp"
#include "SVGPathElement.cpp"
#include "SVGPathParser.cpp"
+#include "SVGPathSeg.cpp"
#include "SVGPathSegArc.cpp"
#include "SVGPathSegClosePath.cpp"
#include "SVGPathSegCurvetoCubic.cpp"
diff --git a/WebCore/svg/SVGAngle.h b/WebCore/svg/SVGAngle.h
index 370419f..289b8c6 100644
--- a/WebCore/svg/SVGAngle.h
+++ b/WebCore/svg/SVGAngle.h
@@ -23,7 +23,6 @@
#if ENABLE(SVG)
#include "PlatformString.h"
-#include "SVGNames.h"
namespace WebCore {
diff --git a/WebCore/svg/SVGPathSeg.cpp b/WebCore/svg/SVGPathSeg.cpp
new file mode 100644
index 0000000..36c96ac
--- /dev/null
+++ b/WebCore/svg/SVGPathSeg.cpp
@@ -0,0 +1,62 @@
+/*
+ * Copyright (C) 2010 Google, Inc. All Rights Reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "SVGPathSeg.h"
+
+#include "SVGNames.h"
+
+namespace WebCore {
+
+SVGPathSeg::~SVGPathSeg()
+{
+}
+
+unsigned short SVGPathSeg::pathSegType() const
+{
+ return PATHSEG_UNKNOWN;
+}
+
+String SVGPathSeg::pathSegTypeAsLetter() const
+{
+ return "";
+}
+
+String SVGPathSeg::toString() const
+{
+ return "";
+}
+
+const QualifiedName& SVGPathSeg::associatedAttributeName() const
+{
+ return SVGNames::dAttr;
+}
+
+String SVGPathSegSingleCoord::toString() const
+{
+ return pathSegTypeAsLetter() + String::format(" %.6lg %.6lg", m_x, m_y);
+}
+
+} // namespace WebCore
diff --git a/WebCore/svg/SVGPathSeg.h b/WebCore/svg/SVGPathSeg.h
index 5df76c3..3026369 100644
--- a/WebCore/svg/SVGPathSeg.h
+++ b/WebCore/svg/SVGPathSeg.h
@@ -22,18 +22,17 @@
#define SVGPathSeg_h
#if ENABLE(SVG)
-#include "PlatformString.h"
-#include "SVGNames.h"
-
#include <wtf/RefCounted.h>
namespace WebCore {
+ class String;
class SVGPathElement;
class SVGStyledElement;
+ class QualifiedName;
class SVGPathSeg : public RefCounted<SVGPathSeg> {
public:
- virtual ~SVGPathSeg() { }
+ virtual ~SVGPathSeg();
enum SVGPathSegType {
PATHSEG_UNKNOWN = 0,
@@ -58,11 +57,11 @@ namespace WebCore {
PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19
};
- virtual unsigned short pathSegType() const { return PATHSEG_UNKNOWN; }
- virtual String pathSegTypeAsLetter() const { return ""; }
- virtual String toString() const { return ""; }
+ virtual unsigned short pathSegType() const;
+ virtual String pathSegTypeAsLetter() const;
+ virtual String toString() const;
- const QualifiedName& associatedAttributeName() const { return SVGNames::dAttr; }
+ const QualifiedName& associatedAttributeName() const;
protected:
SVGPathSeg() { }
@@ -71,7 +70,11 @@ namespace WebCore {
class SVGPathSegSingleCoord : public SVGPathSeg {
public:
SVGPathSegSingleCoord(float x, float y)
- : SVGPathSeg() , m_x(x) , m_y(y) {}
+ : SVGPathSeg()
+ , m_x(x)
+ , m_y(y)
+ {
+ }
void setX(float x) { m_x = x; }
float x() const { return m_x; }
@@ -79,14 +82,13 @@ namespace WebCore {
void setY(float y) { m_y = y; }
float y() const { return m_y; }
- virtual String toString() const { return pathSegTypeAsLetter() + String::format(" %.6lg %.6lg", m_x, m_y); }
+ virtual String toString() const;
private:
float m_x;
float m_y;
};
-
} // namespace WebCore
#endif // ENABLE(SVG)
diff --git a/WebCore/svg/SVGPathSegArc.cpp b/WebCore/svg/SVGPathSegArc.cpp
index f606905..78d4c56 100644
--- a/WebCore/svg/SVGPathSegArc.cpp
+++ b/WebCore/svg/SVGPathSegArc.cpp
@@ -25,6 +25,11 @@
namespace WebCore {
+String SVGPathSegArc::toString() const
+{
+ return pathSegTypeAsLetter() + String::format(" %.6lg %.6lg %.6lg %d %d %.6lg %.6lg", m_r1, m_r2, m_angle, m_largeArcFlag, m_sweepFlag, m_x, m_y);
+}
+
SVGPathSegArcAbs::SVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
: SVGPathSegArc(x, y, r1, r2, angle, largeArcFlag, sweepFlag)
{
diff --git a/WebCore/svg/SVGPathSegArc.h b/WebCore/svg/SVGPathSegArc.h
index bad570f..2782206 100644
--- a/WebCore/svg/SVGPathSegArc.h
+++ b/WebCore/svg/SVGPathSegArc.h
@@ -23,6 +23,7 @@
#if ENABLE(SVG)
+#include "PlatformString.h"
#include "SVGPathSeg.h"
namespace WebCore {
@@ -30,9 +31,17 @@ namespace WebCore {
class SVGPathSegArc : public SVGPathSeg {
public:
SVGPathSegArc(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
- : m_x(x), m_y(y), m_r1(r1), m_r2(r2), m_angle(angle), m_largeArcFlag(largeArcFlag), m_sweepFlag(sweepFlag) {}
+ : m_x(x)
+ , m_y(y)
+ , m_r1(r1)
+ , m_r2(r2)
+ , m_angle(angle)
+ , m_largeArcFlag(largeArcFlag)
+ , m_sweepFlag(sweepFlag)
+ {
+ }
- virtual String toString() const { return pathSegTypeAsLetter() + String::format(" %.6lg %.6lg %.6lg %d %d %.6lg %.6lg", m_r1, m_r2, m_angle, m_largeArcFlag, m_sweepFlag, m_x, m_y); }
+ virtual String toString() const;
void setX(float x) { m_x = x; }
float x() const { return m_x; }
diff --git a/WebCore/svg/SVGPathSegClosePath.h b/WebCore/svg/SVGPathSegClosePath.h
index 16310b0..49a1dc9 100644
--- a/WebCore/svg/SVGPathSegClosePath.h
+++ b/WebCore/svg/SVGPathSegClosePath.h
@@ -23,25 +23,25 @@
#if ENABLE(SVG)
+#include "PlatformString.h"
#include "SVGPathSeg.h"
namespace WebCore {
- class SVGPathSegClosePath : public SVGPathSeg {
- public:
- static PassRefPtr<SVGPathSegClosePath> create() { return adoptRef(new SVGPathSegClosePath); }
- virtual ~SVGPathSegClosePath();
-
- virtual unsigned short pathSegType() const { return PATHSEG_CLOSEPATH; }
- virtual String pathSegTypeAsLetter() const { return "Z"; }
- virtual String toString() const { return "Z"; }
-
- private:
- SVGPathSegClosePath();
- };
+
+class SVGPathSegClosePath : public SVGPathSeg {
+public:
+ static PassRefPtr<SVGPathSegClosePath> create() { return adoptRef(new SVGPathSegClosePath); }
+ virtual ~SVGPathSegClosePath();
+
+ virtual unsigned short pathSegType() const { return PATHSEG_CLOSEPATH; }
+ virtual String pathSegTypeAsLetter() const { return "Z"; }
+ virtual String toString() const { return "Z"; }
+
+private:
+ SVGPathSegClosePath();
+};
} // namespace WebCore
#endif // ENABLE(SVG)
#endif
-
-// vim:ts=4:noet
diff --git a/WebCore/svg/SVGPathSegCurvetoCubic.h b/WebCore/svg/SVGPathSegCurvetoCubic.h
index 1a03247..aa9c060 100644
--- a/WebCore/svg/SVGPathSegCurvetoCubic.h
+++ b/WebCore/svg/SVGPathSegCurvetoCubic.h
@@ -23,6 +23,7 @@
#if ENABLE(SVG)
+#include "PlatformString.h"
#include "SVGPathSeg.h"
namespace WebCore {
diff --git a/WebCore/svg/SVGPathSegCurvetoCubicSmooth.h b/WebCore/svg/SVGPathSegCurvetoCubicSmooth.h
index b9c2ed7..e12460b 100644
--- a/WebCore/svg/SVGPathSegCurvetoCubicSmooth.h
+++ b/WebCore/svg/SVGPathSegCurvetoCubicSmooth.h
@@ -23,6 +23,7 @@
#if ENABLE(SVG)
+#include "PlatformString.h"
#include "SVGPathSeg.h"
namespace WebCore {
@@ -79,5 +80,3 @@ namespace WebCore {
#endif // ENABLE(SVG)
#endif
-
-// vim:ts=4:noet
diff --git a/WebCore/svg/SVGPathSegCurvetoQuadratic.h b/WebCore/svg/SVGPathSegCurvetoQuadratic.h
index 6d70f35..10d8f43 100644
--- a/WebCore/svg/SVGPathSegCurvetoQuadratic.h
+++ b/WebCore/svg/SVGPathSegCurvetoQuadratic.h
@@ -23,6 +23,7 @@
#if ENABLE(SVG)
+#include "PlatformString.h"
#include "SVGPathSeg.h"
namespace WebCore {
diff --git a/WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.h b/WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.h
index b01d4bd..fb3d51f 100644
--- a/WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.h
+++ b/WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.h
@@ -23,6 +23,7 @@
#if ENABLE(SVG)
+#include "PlatformString.h"
#include "SVGPathSeg.h"
namespace WebCore {
diff --git a/WebCore/svg/SVGPathSegLineto.h b/WebCore/svg/SVGPathSegLineto.h
index 50d484c..9b69bf0 100644
--- a/WebCore/svg/SVGPathSegLineto.h
+++ b/WebCore/svg/SVGPathSegLineto.h
@@ -23,6 +23,7 @@
#if ENABLE(SVG)
+#include "PlatformString.h"
#include "SVGPathSeg.h"
namespace WebCore {
diff --git a/WebCore/svg/SVGPathSegLinetoHorizontal.h b/WebCore/svg/SVGPathSegLinetoHorizontal.h
index fc7a973..a4072ae 100644
--- a/WebCore/svg/SVGPathSegLinetoHorizontal.h
+++ b/WebCore/svg/SVGPathSegLinetoHorizontal.h
@@ -23,6 +23,7 @@
#if ENABLE(SVG)
+#include "PlatformString.h"
#include "SVGPathSeg.h"
namespace WebCore {
diff --git a/WebCore/svg/SVGPathSegLinetoVertical.h b/WebCore/svg/SVGPathSegLinetoVertical.h
index 111a3b9..fb54c32 100644
--- a/WebCore/svg/SVGPathSegLinetoVertical.h
+++ b/WebCore/svg/SVGPathSegLinetoVertical.h
@@ -23,6 +23,7 @@
#if ENABLE(SVG)
+#include "PlatformString.h"
#include "SVGPathSeg.h"
namespace WebCore {
diff --git a/WebCore/svg/SVGPathSegMoveto.h b/WebCore/svg/SVGPathSegMoveto.h
index a68d518..194b1a6 100644
--- a/WebCore/svg/SVGPathSegMoveto.h
+++ b/WebCore/svg/SVGPathSegMoveto.h
@@ -23,6 +23,7 @@
#if ENABLE(SVG)
+#include "PlatformString.h"
#include "SVGPathSeg.h"
namespace WebCore {
diff --git a/WebCore/svg/SVGTransform.h b/WebCore/svg/SVGTransform.h
index 6b0029f..071d908 100644
--- a/WebCore/svg/SVGTransform.h
+++ b/WebCore/svg/SVGTransform.h
@@ -24,7 +24,6 @@
#if ENABLE(SVG)
#include "AffineTransform.h"
#include "FloatPoint.h"
-#include "SVGNames.h"
namespace WebCore {
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list