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
commit558f64c07919446a7c1fa9dbdbe34c8bac05f896 (patch)
treef1d5d5861515eb07cc4419bec53ceadfa5b3a49c /src/html/html_document.h
parent6ffe6bc384bc8afc926c32a7d8685416ee03d1a3 (diff)
downloadlibdom-558f64c07919446a7c1fa9dbdbe34c8bac05f896.tar.gz
libdom-558f64c07919446a7c1fa9dbdbe34c8bac05f896.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 */