summaryrefslogtreecommitdiffstats
path: root/dom/bindings/BindingUtils.h
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
commitf0a708834dfb189058dd90b67765fda7687f5039 (patch)
treef58714a695a1f66a0ac6409cb6b9a232e43ceb15 /dom/bindings/BindingUtils.h
parent26f02a2001f65d7808d17e6f2ded4944187ebe32 (diff)
downloadUXP-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
Diffstat (limited to 'dom/bindings/BindingUtils.h')
-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 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() {