summaryrefslogtreecommitdiff
path: root/Source/WebCore/loader/cache/CachedSVGDocumentReference.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/loader/cache/CachedSVGDocumentReference.h')
-rw-r--r--Source/WebCore/loader/cache/CachedSVGDocumentReference.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/WebCore/loader/cache/CachedSVGDocumentReference.h b/Source/WebCore/loader/cache/CachedSVGDocumentReference.h
index a297abcf8..70cb1afa4 100644
--- a/Source/WebCore/loader/cache/CachedSVGDocumentReference.h
+++ b/Source/WebCore/loader/cache/CachedSVGDocumentReference.h
@@ -23,10 +23,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CachedSVGDocumentReference_h
-#define CachedSVGDocumentReference_h
+#pragma once
-#if ENABLE(SVG) && ENABLE(CSS_FILTERS)
#include "CachedResourceHandle.h"
#include "CachedSVGDocumentClient.h"
#include <wtf/text/WTFString.h>
@@ -35,6 +33,7 @@ namespace WebCore {
class CachedSVGDocument;
class CachedResourceLoader;
+struct ResourceLoaderOptions;
class CachedSVGDocumentReference : public CachedSVGDocumentClient {
public:
@@ -42,7 +41,7 @@ public:
virtual ~CachedSVGDocumentReference();
- void load(CachedResourceLoader*);
+ void load(CachedResourceLoader&, const ResourceLoaderOptions&);
bool loadRequested() const { return m_loadRequested; }
CachedSVGDocument* document() { return m_document.get(); }
@@ -53,8 +52,4 @@ private:
bool m_loadRequested;
};
-};
-
-#endif // ENABLE(SVG) && ENABLE(CSS_FILTERS)
-
-#endif // CachedSVGDocumentReference_h
+} // namespace WebCore