summaryrefslogtreecommitdiffstats
path: root/khtml/html/htmlparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/html/htmlparser.h')
-rw-r--r--khtml/html/htmlparser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/khtml/html/htmlparser.h b/khtml/html/htmlparser.h
index ea1db2ee0..d0ce549ef 100644
--- a/khtml/html/htmlparser.h
+++ b/khtml/html/htmlparser.h
@@ -42,6 +42,7 @@
#include "dom/dom_string.h"
#include "xml/dom_nodeimpl.h"
#include "html/html_documentimpl.h"
+#include "html/RefPtr.h"
class KHTMLView;
class HTMLStackElem;
@@ -148,7 +149,7 @@ private:
/*
* the head element. Needed for crappy html which defines <base> after </head>
*/
- DOM::HTMLHeadElementImpl *head;
+ RefPtr<DOM::HTMLHeadElementImpl> head;
/*
* a possible <isindex> element in the head. Compatibility hack for