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 | f0a708834dfb189058dd90b67765fda7687f5039 (patch) | |
tree | f58714a695a1f66a0ac6409cb6b9a232e43ceb15 | |
parent | 26f02a2001f65d7808d17e6f2ded4944187ebe32 (diff) | |
download | UXP-f0a708834dfb189058dd90b67765fda7687f5039.tar UXP-f0a708834dfb189058dd90b67765fda7687f5039.tar.gz UXP-f0a708834dfb189058dd90b67765fda7687f5039.tar.lz UXP-f0a708834dfb189058dd90b67765fda7687f5039.tar.xz UXP-f0a708834dfb189058dd90b67765fda7687f5039.zip |
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 3e58390c9..24b47a545 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() { |