imported change from my UXP custom branch: bug1347737

This commit is contained in:
2019-06-29 17:23:19 +08:00
parent efcaae8ba7
commit b154fe3527
34 changed files with 719 additions and 358 deletions
+4 -3
View File
@@ -51,10 +51,11 @@ class nsHtml5ArrayCopy {
memcpy(target, source, size_t(length) * sizeof(int32_t));
}
static inline void
arraycopy(nsString** source, nsString** target, int32_t length)
static inline void arraycopy(nsHtml5String* source,
nsHtml5String* target,
int32_t length)
{
memcpy(target, source, size_t(length) * sizeof(nsString*));
memcpy(target, source, size_t(length) * sizeof(nsHtml5String));
}
static inline void