summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLPreloadScanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLPreloadScanner.h')
-rw-r--r--WebCore/html/HTMLPreloadScanner.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/html/HTMLPreloadScanner.h b/WebCore/html/HTMLPreloadScanner.h
index ee49ee0..94a90e6 100644
--- a/WebCore/html/HTMLPreloadScanner.h
+++ b/WebCore/html/HTMLPreloadScanner.h
@@ -28,7 +28,6 @@
#define HTMLPreloadScanner_h
#include "CSSPreloadScanner.h"
-#include "HTMLTokenizer.h"
#include "HTMLToken.h"
#include "SegmentedString.h"
#include <wtf/Noncopyable.h>
@@ -37,6 +36,7 @@ namespace WebCore {
class Document;
class HTMLToken;
+class HTMLTokenizer;
class SegmentedString;
class HTMLPreloadScanner : public Noncopyable {
@@ -52,9 +52,9 @@ private:
Document* m_document;
SegmentedString m_source;
- HTMLTokenizer m_tokenizer;
- HTMLToken m_token;
CSSPreloadScanner m_cssScanner;
+ OwnPtr<HTMLTokenizer> m_tokenizer;
+ HTMLToken m_token;
bool m_bodySeen;
bool m_inStyle;
};