summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-08-18 15:12:00 -0500
committertrav90 <travawine@palemoon.org>2018-08-18 15:12:00 -0500
commitaf67b61666b60d924203c2fc12e72a830d2a0703 (patch)
treef58714a695a1f66a0ac6409cb6b9a232e43ceb15
parent15eea35fd67523c1304129176f4674b4558455a1 (diff)
downloaduxp-af67b61666b60d924203c2fc12e72a830d2a0703.tar.gz
memset only the underlying vector from the Array container
-rw-r--r--dom/bindings/BindingUtils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/bindings/BindingUtils.h b/dom/bindings/BindingUtils.h
index 3e58390c9f..24b47a545d 100644
--- a/dom/bindings/BindingUtils.h
+++ b/dom/bindings/BindingUtils.h
@@ -515,7 +515,7 @@ class ProtoAndIfaceCache
{
public:
PageTableCache() {
- memset(&mPages, 0, sizeof(mPages));
+ memset(mPages.begin(), 0, sizeof(mPages));
}
~PageTableCache() {