Title: [167395] trunk/Source/WebCore
Revision
167395
Author
zol...@webkit.org
Date
2014-04-16 15:54:23 -0700 (Wed, 16 Apr 2014)

Log Message

Vanish unnecessary includes from Shapes.{h|cpp}
https://bugs.webkit.org/show_bug.cgi?id=131762

Reviewed by Andreas Kling.

No new tests, no behavior change.

* rendering/shapes/BoxShape.h:
* rendering/shapes/Shape.cpp:
* rendering/shapes/Shape.h:
* rendering/shapes/ShapeOutsideInfo.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (167394 => 167395)


--- trunk/Source/WebCore/ChangeLog	2014-04-16 22:44:00 UTC (rev 167394)
+++ trunk/Source/WebCore/ChangeLog	2014-04-16 22:54:23 UTC (rev 167395)
@@ -1,3 +1,17 @@
+2014-04-16  Zoltan Horvath  <zol...@webkit.org>
+
+        Vanish unnecessary includes from Shapes.{h|cpp}
+        https://bugs.webkit.org/show_bug.cgi?id=131762
+
+        Reviewed by Andreas Kling.
+
+        No new tests, no behavior change.
+
+        * rendering/shapes/BoxShape.h:
+        * rendering/shapes/Shape.cpp:
+        * rendering/shapes/Shape.h:
+        * rendering/shapes/ShapeOutsideInfo.h:
+
 2014-04-16  Andreas Kling  <akl...@apple.com>
 
         Revert direct caching of tagName and nodeName from r167383.

Modified: trunk/Source/WebCore/rendering/shapes/BoxShape.h (167394 => 167395)


--- trunk/Source/WebCore/rendering/shapes/BoxShape.h	2014-04-16 22:44:00 UTC (rev 167394)
+++ trunk/Source/WebCore/rendering/shapes/BoxShape.h	2014-04-16 22:54:23 UTC (rev 167395)
@@ -31,10 +31,13 @@
 #define BoxShape_h
 
 #include "FloatRoundedRect.h"
+#include "RenderStyleConstants.h"
 #include "Shape.h"
 
 namespace WebCore {
 
+class RenderBox;
+
 RoundedRect computeRoundedRectForBoxShape(CSSBoxType, const RenderBox&);
 
 class BoxShape : public Shape {

Modified: trunk/Source/WebCore/rendering/shapes/Shape.cpp (167394 => 167395)


--- trunk/Source/WebCore/rendering/shapes/Shape.cpp	2014-04-16 22:44:00 UTC (rev 167394)
+++ trunk/Source/WebCore/rendering/shapes/Shape.cpp	2014-04-16 22:54:23 UTC (rev 167395)
@@ -32,15 +32,12 @@
 
 #include "BasicShapeFunctions.h"
 #include "BoxShape.h"
-#include "CachedImage.h"
-#include "FloatSize.h"
 #include "ImageBuffer.h"
 #include "LengthFunctions.h"
 #include "PolygonShape.h"
 #include "RasterShape.h"
 #include "RectangleShape.h"
 #include "WindRule.h"
-#include <wtf/MathExtras.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/rendering/shapes/Shape.h (167394 => 167395)


--- trunk/Source/WebCore/rendering/shapes/Shape.h	2014-04-16 22:44:00 UTC (rev 167394)
+++ trunk/Source/WebCore/rendering/shapes/Shape.h	2014-04-16 22:54:23 UTC (rev 167395)
@@ -30,14 +30,9 @@
 #ifndef Shape_h
 #define Shape_h
 
-#include "BasicShapes.h"
 #include "LayoutRect.h"
 #include "Path.h"
-#include "RoundedRect.h"
-#include "StyleImage.h"
 #include "WritingMode.h"
-#include <memory>
-#include <wtf/Vector.h>
 
 namespace WebCore {
 
@@ -52,6 +47,10 @@
     float logicalRight;
 };
 
+class BasicShape;
+class Image;
+class RoundedRect;
+
 typedef Vector<LineSegment> SegmentList;
 
 

Modified: trunk/Source/WebCore/rendering/shapes/ShapeOutsideInfo.h (167394 => 167395)


--- trunk/Source/WebCore/rendering/shapes/ShapeOutsideInfo.h	2014-04-16 22:44:00 UTC (rev 167394)
+++ trunk/Source/WebCore/rendering/shapes/ShapeOutsideInfo.h	2014-04-16 22:54:23 UTC (rev 167395)
@@ -34,6 +34,7 @@
 
 #include "LayoutSize.h"
 #include "Shape.h"
+#include <wtf/HashMap.h>
 
 namespace WebCore {
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to