diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-07-05 09:34:58 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-07-05 09:34:58 +0100 |
commit | f1a0330ff6b4ccbc3c1917c801b8a35da098fc45 (patch) | |
tree | c77b4b657d5a1027deefc070075d7bbe1b3d9874 /src/core/document.h | |
parent | 65a011d0c6ce6f142b3c8fcf612d982ba60fa3aa (diff) | |
download | libdom-f1a0330ff6b4ccbc3c1917c801b8a35da098fc45.tar.gz libdom-f1a0330ff6b4ccbc3c1917c801b8a35da098fc45.tar.bz2 |
DOMDocument: Memoize the empty string
Diffstat (limited to 'src/core/document.h')
-rw-r--r-- | src/core/document.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/document.h b/src/core/document.h index a2b1801..6cf1f91 100644 --- a/src/core/document.h +++ b/src/core/document.h @@ -58,6 +58,7 @@ struct dom_document { /**< The DocumentEvent interface */ dom_document_quirks_mode quirks; /**< Document is in quirks mode */ + dom_string *_memo_empty; /**< The string ''. */ }; /* Create a DOM document */ |