Remove some includes from image-related headers, and Document.h
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Apr 2014 18:35:20 +0000 (18:35 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Apr 2014 18:35:20 +0000 (18:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=131797

Reviewed by Martin Robinson.

Remove some #includes from Document.h, DragImage.h, GradientImage.h,
Image.h, and ImageBuffer.h and deal with the fallout.

* dom/ContainerNode.h:
* dom/Document.cpp:
(WebCore::Document::setInputCursor):
* dom/Document.h:
(WebCore::Document::inputCursor):
* dom/MutationObserverRegistration.cpp:
* html/canvas/WebGLRenderingContext.cpp:
* page/FrameSnapshotting.cpp:
* page/Page.cpp:
* platform/DragImage.h:
* platform/graphics/BitmapImage.cpp:
* platform/graphics/GradientImage.cpp:
(WebCore::GradientImage::GradientImage):
(WebCore::GradientImage::~GradientImage):
* platform/graphics/GradientImage.h:
* platform/graphics/Image.h:
* platform/graphics/ImageBuffer.cpp:
* platform/graphics/ImageBuffer.h:
(WebCore::ImageBuffer::create):
(WebCore::ImageBuffer::internalSize):
(WebCore::ImageBuffer::logicalSize):
(WebCore::ImageBuffer::baseTransform):
(WebCore::ImageBuffer::spaceSize):
(WebCore::ImageBuffer::setSpaceSize):
* rendering/RenderThemeMac.mm:
* rendering/shapes/Shape.cpp:
* rendering/svg/RenderSVGContainer.cpp:
* svg/SVGURIReference.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@167497 268f45cc-cd09-0410-ab3c-d52691b4dbfc

19 files changed:
Source/WebCore/ChangeLog
Source/WebCore/dom/ContainerNode.h
Source/WebCore/dom/Document.cpp
Source/WebCore/dom/Document.h
Source/WebCore/dom/MutationObserverRegistration.cpp
Source/WebCore/html/canvas/WebGLRenderingContext.cpp
Source/WebCore/page/FrameSnapshotting.cpp
Source/WebCore/page/Page.cpp
Source/WebCore/platform/DragImage.h
Source/WebCore/platform/graphics/BitmapImage.cpp
Source/WebCore/platform/graphics/GradientImage.cpp
Source/WebCore/platform/graphics/GradientImage.h
Source/WebCore/platform/graphics/Image.h
Source/WebCore/platform/graphics/ImageBuffer.cpp
Source/WebCore/platform/graphics/ImageBuffer.h
Source/WebCore/rendering/RenderThemeMac.mm
Source/WebCore/rendering/shapes/Shape.cpp
Source/WebCore/rendering/svg/RenderSVGContainer.cpp
Source/WebCore/svg/SVGURIReference.h

index e9b81f1..fb6f5d6 100644 (file)
@@ -1,3 +1,42 @@
+2014-04-18  Simon Fraser  <simon.fraser@apple.com>
+
+        Remove some includes from image-related headers, and Document.h
+        https://bugs.webkit.org/show_bug.cgi?id=131797
+
+        Reviewed by Martin Robinson.
+
+        Remove some #includes from Document.h, DragImage.h, GradientImage.h,
+        Image.h, and ImageBuffer.h and deal with the fallout.
+
+        * dom/ContainerNode.h:
+        * dom/Document.cpp:
+        (WebCore::Document::setInputCursor):
+        * dom/Document.h:
+        (WebCore::Document::inputCursor):
+        * dom/MutationObserverRegistration.cpp:
+        * html/canvas/WebGLRenderingContext.cpp:
+        * page/FrameSnapshotting.cpp:
+        * page/Page.cpp:
+        * platform/DragImage.h:
+        * platform/graphics/BitmapImage.cpp:
+        * platform/graphics/GradientImage.cpp:
+        (WebCore::GradientImage::GradientImage):
+        (WebCore::GradientImage::~GradientImage):
+        * platform/graphics/GradientImage.h:
+        * platform/graphics/Image.h:
+        * platform/graphics/ImageBuffer.cpp:
+        * platform/graphics/ImageBuffer.h:
+        (WebCore::ImageBuffer::create):
+        (WebCore::ImageBuffer::internalSize):
+        (WebCore::ImageBuffer::logicalSize):
+        (WebCore::ImageBuffer::baseTransform):
+        (WebCore::ImageBuffer::spaceSize):
+        (WebCore::ImageBuffer::setSpaceSize):
+        * rendering/RenderThemeMac.mm:
+        * rendering/shapes/Shape.cpp:
+        * rendering/svg/RenderSVGContainer.cpp:
+        * svg/SVGURIReference.h:
+
 2014-04-18  Gabor Rapcsanyi  <rgabor@webkit.org>
 
         Unreviewed. ARM64 buildfix after r167473.
index 321eda6..7508091 100644 (file)
@@ -33,6 +33,7 @@
 namespace WebCore {
 
 class FloatPoint;
+class QualifiedName;
 class RenderElement;
 
 typedef void (*NodeCallback)(Node&, unsigned);
index aa68a00..b35f3ab 100644 (file)
 #if ENABLE(WEB_REPLAY)
 #include "WebReplayInputs.h"
 #include <replay/EmptyInputCursor.h>
+#include <replay/InputCursor.h>
 #endif
 
 using namespace WTF;
@@ -6188,4 +6189,11 @@ bool Document::hasFocus() const
     return false;
 }
 
+#if ENABLE(WEB_REPLAY)
+void Document::setInputCursor(PassRefPtr<InputCursor> cursor)
+{
+    m_inputCursor = cursor;
+}
+#endif
+
 } // namespace WebCore
index fa90f8f..03b56b7 100644 (file)
 #include "DocumentStyleSheetCollection.h"
 #include "DocumentTiming.h"
 #include "FocusDirection.h"
-#include "HitTestRequest.h"
 #include "IconURL.h"
 #include "MutationObserver.h"
 #include "PageVisibilityState.h"
 #include "PlatformScreen.h"
-#include "QualifiedName.h"
 #include "ReferrerPolicy.h"
 #include "RenderPtr.h"
 #include "ScriptExecutionContext.h"
 #include <wtf/PassRefPtr.h>
 #include <wtf/WeakPtr.h>
 
+namespace JSC {
+class ExecState;
 #if ENABLE(WEB_REPLAY)
-#include <replay/InputCursor.h>
+class InputCursor;
 #endif
+}
 
 namespace WebCore {
 
@@ -88,7 +89,6 @@ class DocumentLoader;
 class DocumentMarkerController;
 class DocumentParser;
 class DocumentSharedObjectPool;
-class DocumentStyleSheetCollection;
 class DocumentType;
 class Element;
 class EntityReference;
@@ -130,6 +130,7 @@ class NodeIterator;
 class Page;
 class PlatformMouseEvent;
 class ProcessingInstruction;
+class QualifiedName;
 class Range;
 class RegisteredEventListener;
 class RenderView;
@@ -479,8 +480,8 @@ public:
     virtual URL baseURI() const override;
 
 #if ENABLE(WEB_REPLAY)
-    InputCursor& inputCursor() const { return *m_inputCursor; }
-    void setInputCursor(PassRefPtr<InputCursor> cursor) { m_inputCursor = cursor; }
+    JSC::InputCursor& inputCursor() const { return *m_inputCursor; }
+    void setInputCursor(PassRefPtr<JSC::InputCursor>);
 #endif
 
 #if ENABLE(PAGE_VISIBILITY_API)
@@ -1692,7 +1693,7 @@ private:
 #endif
 
 #if ENABLE(WEB_REPLAY)
-    RefPtr<InputCursor> m_inputCursor;
+    RefPtr<JSC::InputCursor> m_inputCursor;
 #endif
 
     Timer<Document> m_didAssociateFormControlsTimer;
index 12e0b44..c758a9f 100644 (file)
@@ -33,6 +33,7 @@
 #include "MutationObserverRegistration.h"
 
 #include "Document.h"
+#include "QualifiedName.h"
 
 namespace WebCore {
 
index 3a1a037..069839b 100644 (file)
@@ -40,6 +40,7 @@
 #include "FrameLoader.h"
 #include "FrameLoaderClient.h"
 #include "FrameView.h"
+#include "GraphicsContext.h"
 #include "HTMLCanvasElement.h"
 #include "HTMLImageElement.h"
 #include "HTMLVideoElement.h"
index 8f1d22a..4cc282d 100644 (file)
@@ -35,6 +35,7 @@
 #include "Frame.h"
 #include "FrameSelection.h"
 #include "FrameView.h"
+#include "GraphicsContext.h"
 #include "ImageBuffer.h"
 #include "Page.h"
 #include "RenderObject.h"
index 8518187..e39f67d 100644 (file)
@@ -95,6 +95,7 @@
 
 #if ENABLE(WEB_REPLAY)
 #include "ReplayController.h"
+#include <replay/InputCursor.h>
 #endif
 
 namespace WebCore {
index 4f41057..9179839 100644 (file)
@@ -28,7 +28,6 @@
 
 #include "FloatSize.h"
 #include "FontRenderingMode.h"
-#include "FrameSnapshotting.h"
 #include "ImageOrientation.h"
 #include "IntSize.h"
 #include <wtf/Forward.h>
index 14b2b54..edc73fa 100644 (file)
@@ -28,6 +28,7 @@
 #include "BitmapImage.h"
 
 #include "FloatRect.h"
+#include "GraphicsContext.h"
 #include "ImageBuffer.h"
 #include "ImageObserver.h"
 #include "IntRect.h"
index 6e69236..0527120 100644 (file)
 
 #include "FloatRect.h"
 #include "GraphicsContext.h"
+#include "ImageBuffer.h"
 #include "Length.h"
 
 namespace WebCore {
 
+GradientImage::GradientImage(PassRefPtr<Gradient> generator, const FloatSize& size)
+    : m_gradient(generator)
+{
+    setContainerSize(size);
+}
+
+GradientImage::~GradientImage()
+{
+}
+
 void GradientImage::draw(GraphicsContext* destContext, const FloatRect& destRect, const FloatRect& srcRect, ColorSpace, CompositeOperator compositeOp, BlendMode blendMode, ImageOrientationDescription)
 {
     GraphicsContextStateSaver stateSaver(*destContext);
index 66567c6..401c5fa 100644 (file)
 #include "GeneratedImage.h"
 #include "Gradient.h"
 #include "Image.h"
-#include "ImageBuffer.h"
 #include <wtf/RefPtr.h>
 
 namespace WebCore {
 
+class ImageBuffer;
+
 class GradientImage final : public GeneratedImage {
 public:
     static PassRefPtr<GradientImage> create(PassRefPtr<Gradient> generator, const FloatSize& size)
@@ -42,18 +43,14 @@ public:
         return adoptRef(new GradientImage(generator, size));
     }
 
-    virtual ~GradientImage() { }
+    virtual ~GradientImage();
 
 protected:
     virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, ColorSpace styleColorSpace, CompositeOperator, BlendMode, ImageOrientationDescription) override;
     virtual void drawPattern(GraphicsContext*, const FloatRect& srcRect, const AffineTransform& patternTransform,
         const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator, const FloatRect& destRect, BlendMode) override;
 
-    GradientImage(PassRefPtr<Gradient> generator, const FloatSize& size)
-        : m_gradient(generator)
-    {
-        setContainerSize(size);
-    }
+    GradientImage(PassRefPtr<Gradient>, const FloatSize&);
 
 private:
     RefPtr<Gradient> m_gradient;
index 61176d8..be9fde2 100644 (file)
@@ -33,7 +33,6 @@
 #include "FloatSize.h"
 #include "GraphicsTypes.h"
 #include "ImageOrientation.h"
-#include "IntRect.h"
 #include "NativeImagePtr.h"
 #include <wtf/PassRefPtr.h>
 #include <wtf/RefCounted.h>
index 10c6ad0..b384372 100644 (file)
@@ -27,6 +27,7 @@
 #include "config.h"
 #include "ImageBuffer.h"
 
+#include "GraphicsContext.h"
 #include "IntRect.h"
 #include <wtf/MathExtras.h>
 
index b080f58..5c99499 100644 (file)
 
 #include "AffineTransform.h"
 #include "ColorSpace.h"
-#include "FloatRect.h"
-#include "GraphicsContext.h"
 #include "GraphicsTypes.h"
 #include "GraphicsTypes3D.h"
 #include "IntSize.h"
 #include "ImageBufferData.h"
 #include "PlatformLayer.h"
-#include <runtime/JSCInlines.h>
-#include <runtime/TypedArrayInlines.h>
 #include <runtime/Uint8ClampedArray.h>
 #include <wtf/Forward.h>
 #include <wtf/OwnPtr.h>
 
 namespace WebCore {
 
-    class Image;
-    class ImageData;
-    class IntPoint;
-    class IntRect;
-    class GraphicsContext3D;
-
-    enum Multiply {
-        Premultiplied,
-        Unmultiplied
-    };
-
-    enum RenderingMode {
-        Unaccelerated,
-        UnacceleratedNonPlatformBuffer, // Use plain memory allocation rather than platform API to allocate backing store.
-        Accelerated
-    };
+class FloatRect;
+class GraphicsContext;
+class GraphicsContext3D;
+class Image;
+class ImageData;
+class IntPoint;
+class IntRect;
+
+enum Multiply {
+    Premultiplied,
+    Unmultiplied
+};
+
+enum RenderingMode {
+    Unaccelerated,
+    UnacceleratedNonPlatformBuffer, // Use plain memory allocation rather than platform API to allocate backing store.
+    Accelerated
+};
+
+enum BackingStoreCopy {
+    CopyBackingStore, // Guarantee subsequent draws don't affect the copy.
+    DontCopyBackingStore // Subsequent draws may affect the copy.
+};
+
+enum ScaleBehavior {
+    Scaled,
+    Unscaled
+};
+
+class ImageBuffer {
+    WTF_MAKE_NONCOPYABLE(ImageBuffer); WTF_MAKE_FAST_ALLOCATED;
+public:
+    // Will return a null pointer on allocation failure.
+    static std::unique_ptr<ImageBuffer> create(const FloatSize& size, float resolutionScale = 1, ColorSpace colorSpace = ColorSpaceDeviceRGB, RenderingMode renderingMode = Unaccelerated)
+    {
+        bool success = false;
+        std::unique_ptr<ImageBuffer> buffer(new ImageBuffer(size, resolutionScale, colorSpace, renderingMode, success));
+        if (!success)
+            return nullptr;
+        return buffer;
+    }
+
+    static std::unique_ptr<ImageBuffer> createCompatibleBuffer(const FloatSize&, float resolutionScale, ColorSpace, const GraphicsContext*, bool hasAlpha);
+
+    ~ImageBuffer();
+
+    // The actual resolution of the backing store
+    const IntSize& internalSize() const { return m_size; }
+    const IntSize& logicalSize() const { return m_logicalSize; }
+
+    GraphicsContext* context() const;
+
+    PassRefPtr<Image> copyImage(BackingStoreCopy = CopyBackingStore, ScaleBehavior = Scaled) const;
+    // Give hints on the faster copyImage Mode, return DontCopyBackingStore if it supports the DontCopyBackingStore behavior
+    // or return CopyBackingStore if it doesn't.  
+    static BackingStoreCopy fastCopyImageMode();
+
+    enum CoordinateSystem { LogicalCoordinateSystem, BackingStoreCoordinateSystem };
+
+    PassRefPtr<Uint8ClampedArray> getUnmultipliedImageData(const IntRect&, CoordinateSystem = LogicalCoordinateSystem) const;
+    PassRefPtr<Uint8ClampedArray> getPremultipliedImageData(const IntRect&, CoordinateSystem = LogicalCoordinateSystem) const;
+
+    void putByteArray(Multiply multiplied, Uint8ClampedArray*, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, CoordinateSystem = LogicalCoordinateSystem);
     
-    enum BackingStoreCopy {
-        CopyBackingStore, // Guarantee subsequent draws don't affect the copy.
-        DontCopyBackingStore // Subsequent draws may affect the copy.
-    };
-
-    enum ScaleBehavior {
-        Scaled,
-        Unscaled
-    };
-
-    class ImageBuffer {
-        WTF_MAKE_NONCOPYABLE(ImageBuffer); WTF_MAKE_FAST_ALLOCATED;
-    public:
-        // Will return a null pointer on allocation failure.
-        static std::unique_ptr<ImageBuffer> create(const FloatSize& size, float resolutionScale = 1, ColorSpace colorSpace = ColorSpaceDeviceRGB, RenderingMode renderingMode = Unaccelerated)
-        {
-            bool success = false;
-            std::unique_ptr<ImageBuffer> buffer(new ImageBuffer(size, resolutionScale, colorSpace, renderingMode, success));
-            if (!success)
-                return nullptr;
-            return buffer;
-        }
-
-        static std::unique_ptr<ImageBuffer> createCompatibleBuffer(const FloatSize&, float resolutionScale, ColorSpace, const GraphicsContext*, bool hasAlpha);
-
-        ~ImageBuffer();
-
-        // The actual resolution of the backing store
-        const IntSize& internalSize() const { return m_size; }
-        const IntSize& logicalSize() const { return m_logicalSize; }
-
-        GraphicsContext* context() const;
-
-        PassRefPtr<Image> copyImage(BackingStoreCopy = CopyBackingStore, ScaleBehavior = Scaled) const;
-        // Give hints on the faster copyImage Mode, return DontCopyBackingStore if it supports the DontCopyBackingStore behavior
-        // or return CopyBackingStore if it doesn't.  
-        static BackingStoreCopy fastCopyImageMode();
-
-        enum CoordinateSystem { LogicalCoordinateSystem, BackingStoreCoordinateSystem };
-
-        PassRefPtr<Uint8ClampedArray> getUnmultipliedImageData(const IntRect&, CoordinateSystem = LogicalCoordinateSystem) const;
-        PassRefPtr<Uint8ClampedArray> getPremultipliedImageData(const IntRect&, CoordinateSystem = LogicalCoordinateSystem) const;
-
-        void putByteArray(Multiply multiplied, Uint8ClampedArray*, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, CoordinateSystem = LogicalCoordinateSystem);
-        
-        void convertToLuminanceMask();
-        
-        String toDataURL(const String& mimeType, const double* quality = 0, CoordinateSystem = LogicalCoordinateSystem) const;
+    void convertToLuminanceMask();
+    
+    String toDataURL(const String& mimeType, const double* quality = 0, CoordinateSystem = LogicalCoordinateSystem) const;
 #if !USE(CG)
-        AffineTransform baseTransform() const { return AffineTransform(); }
-        void transformColorSpace(ColorSpace srcColorSpace, ColorSpace dstColorSpace);
-        void platformTransformColorSpace(const Vector<int>&);
+    AffineTransform baseTransform() const { return AffineTransform(); }
+    void transformColorSpace(ColorSpace srcColorSpace, ColorSpace dstColorSpace);
+    void platformTransformColorSpace(const Vector<int>&);
 #else
-        AffineTransform baseTransform() const { return AffineTransform(1, 0, 0, -1, 0, m_data.m_backingStoreSize.height()); }
+    AffineTransform baseTransform() const { return AffineTransform(1, 0, 0, -1, 0, m_data.m_backingStoreSize.height()); }
 #endif
-        PlatformLayer* platformLayer() const;
+    PlatformLayer* platformLayer() const;
 
-        // FIXME: current implementations of this method have the restriction that they only work
-        // with textures that are RGB or RGBA format, and UNSIGNED_BYTE type.
-        bool copyToPlatformTexture(GraphicsContext3D&, Platform3DObject, GC3Denum, bool, bool);
+    // FIXME: current implementations of this method have the restriction that they only work
+    // with textures that are RGB or RGBA format, and UNSIGNED_BYTE type.
+    bool copyToPlatformTexture(GraphicsContext3D&, Platform3DObject, GC3Denum, bool, bool);
 
-        FloatSize spaceSize() const { return m_space; }
-        void setSpaceSize(const FloatSize& space)
-        {
-            m_space = space;
-        }
+    FloatSize spaceSize() const { return m_space; }
+    void setSpaceSize(const FloatSize& space)
+    {
+        m_space = space;
+    }
 
-    private:
+private:
 #if USE(CG)
-        // The returned image might be larger than the internalSize(). If you want the smaller
-        // image, crop the result.
-        RetainPtr<CGImageRef> copyNativeImage(BackingStoreCopy = CopyBackingStore) const;
-        void flushContext() const;
+    // The returned image might be larger than the internalSize(). If you want the smaller
+    // image, crop the result.
+    RetainPtr<CGImageRef> copyNativeImage(BackingStoreCopy = CopyBackingStore) const;
+    void flushContext() const;
 #endif
-        void clip(GraphicsContext*, const FloatRect&) const;
+    void clip(GraphicsContext*, const FloatRect&) const;
 
-        void draw(GraphicsContext*, ColorSpace, const FloatRect& destRect, const FloatRect& srcRect = FloatRect(0, 0, -1, -1), CompositeOperator = CompositeSourceOver, BlendMode = BlendModeNormal, bool useLowQualityScale = false);
-        void drawPattern(GraphicsContext*, const FloatRect& srcRect, const AffineTransform& patternTransform, const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator, const FloatRect& destRect, BlendMode = BlendModeNormal);
+    void draw(GraphicsContext*, ColorSpace, const FloatRect& destRect, const FloatRect& srcRect = FloatRect(0, 0, -1, -1), CompositeOperator = CompositeSourceOver, BlendMode = BlendModeNormal, bool useLowQualityScale = false);
+    void drawPattern(GraphicsContext*, const FloatRect& srcRect, const AffineTransform& patternTransform, const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator, const FloatRect& destRect, BlendMode = BlendModeNormal);
 
-        inline void genericConvertToLuminanceMask();
+    inline void genericConvertToLuminanceMask();
 
-        friend class GraphicsContext;
-        friend class GeneratedImage;
-        friend class CrossfadeGeneratedImage;
-        friend class GradientImage;
+    friend class GraphicsContext;
+    friend class GeneratedImage;
+    friend class CrossfadeGeneratedImage;
+    friend class GradientImage;
 
-    private:
-        ImageBufferData m_data;
-        IntSize m_size;
-        IntSize m_logicalSize;
-        float m_resolutionScale;
-        OwnPtr<GraphicsContext> m_context;
-        FloatSize m_space;
+private:
+    ImageBufferData m_data;
+    IntSize m_size;
+    IntSize m_logicalSize;
+    float m_resolutionScale;
+    OwnPtr<GraphicsContext> m_context;
+    FloatSize m_space;
 
-        // This constructor will place its success into the given out-variable
-        // so that create() knows when it should return failure.
-        ImageBuffer(const FloatSize&, float resolutionScale, ColorSpace, RenderingMode, bool& success);
-    };
+    // This constructor will place its success into the given out-variable
+    // so that create() knows when it should return failure.
+    ImageBuffer(const FloatSize&, float resolutionScale, ColorSpace, RenderingMode, bool& success);
+};
 
 #if USE(CG)
-    String ImageDataToDataURL(const ImageData&, const String& mimeType, const double* quality);
+String ImageDataToDataURL(const ImageData&, const String& mimeType, const double* quality);
 #endif
 
 } // namespace WebCore
index d3f9298..258c7ae 100644 (file)
@@ -65,6 +65,7 @@
 #import <wtf/RetainPtr.h>
 #import <wtf/RetainPtr.h>
 #import <wtf/StdLibExtras.h>
+#import <wtf/text/StringBuilder.h>
 #import <Carbon/Carbon.h>
 #import <Cocoa/Cocoa.h>
 #import <math.h>
index 2ab050e..f6c317e 100644 (file)
@@ -32,6 +32,7 @@
 
 #include "BasicShapeFunctions.h"
 #include "BoxShape.h"
+#include "GraphicsContext.h"
 #include "ImageBuffer.h"
 #include "LengthFunctions.h"
 #include "PolygonShape.h"
index 803a8b6..689a3d0 100644 (file)
@@ -25,6 +25,7 @@
 #include "RenderSVGContainer.h"
 
 #include "GraphicsContext.h"
+#include "HitTestRequest.h"
 #include "LayoutRepainter.h"
 #include "RenderIterator.h"
 #include "RenderSVGResourceFilter.h"
index 99db8f7..90bb1b4 100644 (file)
@@ -22,6 +22,7 @@
 #define SVGURIReference_h
 
 #include "Document.h"
+#include "QualifiedName.h"
 
 namespace WebCore {