summaryrefslogtreecommitdiffstats
path: root/parser/html/nsHtml5HtmlAttributes.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-01-16 07:28:40 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-01-16 07:28:40 -0500
commit927c386dd8c9526d8695d0202a08735984dc7b31 (patch)
tree97bf5ff593781ecaa8c51a2a68799b99894e4f31 /parser/html/nsHtml5HtmlAttributes.h
parent635baac21a451a59e98abb38b7bec89f5d08fd75 (diff)
downloadUXP-927c386dd8c9526d8695d0202a08735984dc7b31.tar
UXP-927c386dd8c9526d8695d0202a08735984dc7b31.tar.gz
UXP-927c386dd8c9526d8695d0202a08735984dc7b31.tar.lz
UXP-927c386dd8c9526d8695d0202a08735984dc7b31.tar.xz
UXP-927c386dd8c9526d8695d0202a08735984dc7b31.zip
Regenerate nsHtml5*.cpp files from java htmlparser sources
Diffstat (limited to 'parser/html/nsHtml5HtmlAttributes.h')
-rw-r--r--parser/html/nsHtml5HtmlAttributes.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/parser/html/nsHtml5HtmlAttributes.h b/parser/html/nsHtml5HtmlAttributes.h
index ba3992788..f97e80c8a 100644
--- a/parser/html/nsHtml5HtmlAttributes.h
+++ b/parser/html/nsHtml5HtmlAttributes.h
@@ -1,7 +1,8 @@
/*
* Copyright (c) 2007 Henri Sivonen
* Copyright (c) 2008-2011 Mozilla Foundation
- * Copyright (c) 2019 Moonchild Productions
+ * Copyright (c) 2018-2020 Moonchild Productions
+ * Copyright (c) 2020 Binary Outcast
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -65,7 +66,7 @@ class nsHtml5HtmlAttributes
int32_t mode;
int32_t length;
autoJArray<nsHtml5AttributeName*,int32_t> names;
- autoJArray<nsHtml5String, int32_t> values;
+ autoJArray<nsHtml5String,int32_t> values;
autoJArray<int32_t,int32_t> lines;
public:
explicit nsHtml5HtmlAttributes(int32_t mode);
@@ -79,9 +80,7 @@ class nsHtml5HtmlAttributes
nsHtml5String getValueNoBoundsCheck(int32_t index);
nsHtml5AttributeName* getAttributeNameNoBoundsCheck(int32_t index);
int32_t getLineNoBoundsCheck(int32_t index);
- void addAttribute(nsHtml5AttributeName* name,
- nsHtml5String value,
- int32_t line);
+ void addAttribute(nsHtml5AttributeName* name, nsHtml5String value, int32_t line);
void clear(int32_t m);
void releaseValue(int32_t i);
void clearWithoutReleasingContents();