summaryrefslogtreecommitdiffstats
path: root/parser/html/nsHtml5Highlighter.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2019-07-07 10:31:28 +0000
committerGitHub <noreply@github.com>2019-07-07 10:31:28 +0000
commit0845614a5eb3f5fafda7f7b82f041d1a8a0ba955 (patch)
treefecd28d17cf5fe91cd11d918e0ade88265b00a29 /parser/html/nsHtml5Highlighter.h
parenta3ed49dde7ad33c6b934424ce86d77dc5209a97f (diff)
parent7c5a0db237c7a43136ee3cdc6cfb0663778d9e2c (diff)
downloadUXP-0845614a5eb3f5fafda7f7b82f041d1a8a0ba955.tar
UXP-0845614a5eb3f5fafda7f7b82f041d1a8a0ba955.tar.gz
UXP-0845614a5eb3f5fafda7f7b82f041d1a8a0ba955.tar.lz
UXP-0845614a5eb3f5fafda7f7b82f041d1a8a0ba955.tar.xz
UXP-0845614a5eb3f5fafda7f7b82f041d1a8a0ba955.zip
Merge pull request #1163 from win7-7/nsHtml5HtmlAttributes-clear
Introduce a new non-heap-allocated type for holding nsStringBuffer* in the HTML parser
Diffstat (limited to 'parser/html/nsHtml5Highlighter.h')
-rw-r--r--parser/html/nsHtml5Highlighter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/parser/html/nsHtml5Highlighter.h b/parser/html/nsHtml5Highlighter.h
index e9474869e..366f11582 100644
--- a/parser/html/nsHtml5Highlighter.h
+++ b/parser/html/nsHtml5Highlighter.h
@@ -78,7 +78,7 @@ class nsHtml5Highlighter
* @param aValue the value of the attribute
*/
void MaybeLinkifyAttributeValue(nsHtml5AttributeName* aName,
- nsString* aValue);
+ nsHtml5String aValue);
/**
* Inform the highlighter that the tokenizer successfully completed a
@@ -147,7 +147,7 @@ class nsHtml5Highlighter
*
* @param aValue the base URL to add
*/
- void AddBase(const nsString& aValue);
+ void AddBase(nsHtml5String aValue);
private:
@@ -272,7 +272,7 @@ class nsHtml5Highlighter
*
* @param aValue the (potentially relative) URL to link to
*/
- void AddViewSourceHref(const nsString& aValue);
+ void AddViewSourceHref(nsHtml5String aValue);
/**
* The state we are transitioning away from.