Title: [201386] trunk/Source/WebCore
Revision
201386
Author
[email protected]
Date
2016-05-25 09:39:11 -0700 (Wed, 25 May 2016)

Log Message

Include fewer headers from headers
https://bugs.webkit.org/show_bug.cgi?id=158043

Patch by Alex Christensen <[email protected]> on 2016-05-25
Reviewed by Brady Eidson.

* platform/graphics/GraphicsContext.h:
* rendering/svg/RenderSVGResourceClipper.h:
(isType):
* rendering/svg/RenderSVGResourceMasker.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (201385 => 201386)


--- trunk/Source/WebCore/ChangeLog	2016-05-25 16:19:52 UTC (rev 201385)
+++ trunk/Source/WebCore/ChangeLog	2016-05-25 16:39:11 UTC (rev 201386)
@@ -1,3 +1,15 @@
+2016-05-25  Alex Christensen  <[email protected]>
+
+        Include fewer headers from headers
+        https://bugs.webkit.org/show_bug.cgi?id=158043
+
+        Reviewed by Brady Eidson.
+
+        * platform/graphics/GraphicsContext.h:
+        * rendering/svg/RenderSVGResourceClipper.h:
+        (isType):
+        * rendering/svg/RenderSVGResourceMasker.h:
+
 2016-05-25  Eric Carlson  <[email protected]>
 
         ASSERT in WebCore::TextTrackList::remove when running media/track/track-remove-track.html

Modified: trunk/Source/WebCore/platform/graphics/GraphicsContext.h (201385 => 201386)


--- trunk/Source/WebCore/platform/graphics/GraphicsContext.h	2016-05-25 16:19:52 UTC (rev 201385)
+++ trunk/Source/WebCore/platform/graphics/GraphicsContext.h	2016-05-25 16:39:11 UTC (rev 201386)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef GraphicsContext_h
-#define GraphicsContext_h
+#pragma once
 
 #include "DashArray.h"
 #include "FloatRect.h"
@@ -34,7 +33,6 @@
 #include "GraphicsTypes.h"
 #include "Image.h"
 #include "ImageOrientation.h"
-#include "Path.h"
 #include "Pattern.h"
 #include <wtf/Noncopyable.h>
 
@@ -81,6 +79,7 @@
 class RoundedRect;
 class URL;
 class GraphicsContext3D;
+class Path;
 class TextRun;
 class TransformationMatrix;
 
@@ -675,5 +674,3 @@
 };
 
 } // namespace WebCore
-
-#endif // GraphicsContext_h

Modified: trunk/Source/WebCore/rendering/svg/RenderSVGResourceClipper.h (201385 => 201386)


--- trunk/Source/WebCore/rendering/svg/RenderSVGResourceClipper.h	2016-05-25 16:19:52 UTC (rev 201385)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGResourceClipper.h	2016-05-25 16:39:11 UTC (rev 201386)
@@ -17,12 +17,8 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef RenderSVGResourceClipper_h
-#define RenderSVGResourceClipper_h
+#pragma once
 
-#include "GraphicsContext.h"
-#include "ImageBuffer.h"
-#include "IntSize.h"
 #include "RenderSVGResourceContainer.h"
 #include "SVGClipPathElement.h"
 #include "SVGUnitTypes.h"
@@ -31,6 +27,9 @@
 
 namespace WebCore {
 
+class GraphicsContext;
+class ImageBuffer;
+
 typedef std::unique_ptr<ImageBuffer> ClipperMaskImage;
 
 class RenderSVGResourceClipper final : public RenderSVGResourceContainer {
@@ -80,5 +79,3 @@
 static bool isType(const WebCore::RenderObject& renderer) { return renderer.isSVGResourceClipper(); }
 static bool isType(const WebCore::RenderSVGResource& resource) { return resource.resourceType() == WebCore::ClipperResourceType; }
 SPECIALIZE_TYPE_TRAITS_END()
-
-#endif

Modified: trunk/Source/WebCore/rendering/svg/RenderSVGResourceMasker.h (201385 => 201386)


--- trunk/Source/WebCore/rendering/svg/RenderSVGResourceMasker.h	2016-05-25 16:19:52 UTC (rev 201385)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGResourceMasker.h	2016-05-25 16:39:11 UTC (rev 201386)
@@ -17,10 +17,8 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef RenderSVGResourceMasker_h
-#define RenderSVGResourceMasker_h
+#pragma once
 
-#include "GraphicsContext.h"
 #include "ImageBuffer.h"
 #include "IntSize.h"
 #include "RenderSVGResourceContainer.h"
@@ -31,6 +29,8 @@
 
 namespace WebCore {
 
+class GraphicsContext;
+
 struct MaskerData {
     std::unique_ptr<ImageBuffer> maskImage;
 };
@@ -67,5 +67,3 @@
 }
 
 SPECIALIZE_TYPE_TRAITS_RENDER_SVG_RESOURCE(RenderSVGResourceMasker, MaskerResourceType)
-
-#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to