diff options
author | trav90 <travawine@palemoon.org> | 2018-08-18 15:12:00 -0500 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2018-08-18 15:12:00 -0500 |
commit | af67b61666b60d924203c2fc12e72a830d2a0703 (patch) | |
tree | f58714a695a1f66a0ac6409cb6b9a232e43ceb15 | |
parent | 15eea35fd67523c1304129176f4674b4558455a1 (diff) | |
download | uxp-af67b61666b60d924203c2fc12e72a830d2a0703.tar.gz |
memset only the underlying vector from the Array container
-rw-r--r-- | dom/bindings/BindingUtils.h | 2 |
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() { |