summaryrefslogtreecommitdiff
path: root/src/html/html_document.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2012-07-04 18:22:18 +0100
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2012-07-04 18:22:18 +0100
commit21c4cf585294abe80acf3c959dc52537aeaa6f33 (patch)
treef1d5d5861515eb07cc4419bec53ceadfa5b3a49c /src/html/html_document.h
parent6ff1cec49283e8a6be037c54cb52f8ced49178b7 (diff)
downloadlibdom-21c4cf585294abe80acf3c959dc52537aeaa6f33.tar.gz
libdom-21c4cf585294abe80acf3c959dc52537aeaa6f33.tar.bz2
HTMLDocument: Memoise 'title' 'lang' 'dir' and 'class' too
Diffstat (limited to 'src/html/html_document.h')
-rw-r--r--src/html/html_document.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/html/html_document.h b/src/html/html_document.h
index e3cd80a..57ec1ec 100644
--- a/src/html/html_document.h
+++ b/src/html/html_document.h
@@ -26,6 +26,10 @@ struct dom_html_document {
/* Cached strings for html objects to use */
dom_string *_memo_id; /**< Memoised 'id' */
+ dom_string *_memo_title;/**< Memoised 'title' */
+ dom_string *_memo_lang; /**< Memoised 'lang' */
+ dom_string *_memo_dir; /**< Memoised 'dir' */
+ dom_string *_memo_class;/**< Memoised 'class' */
};
/* Create a HTMLDocument */