From 154eeceebfc21871d8291037eafdeb5f375d2784 Mon Sep 17 00:00:00 2001 From: "peterl%netscape.com" Date: Thu, 8 Oct 1998 01:32:41 +0000 Subject: [PATCH] init hash code to make purify happy --- content/html/style/src/nsHTMLStyleSheet.cpp | 1 + layout/html/style/src/nsHTMLStyleSheet.cpp | 1 + layout/style/nsHTMLStyleSheet.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/content/html/style/src/nsHTMLStyleSheet.cpp b/content/html/style/src/nsHTMLStyleSheet.cpp index ff436ab332c7..014a0cc176b5 100644 --- a/content/html/style/src/nsHTMLStyleSheet.cpp +++ b/content/html/style/src/nsHTMLStyleSheet.cpp @@ -148,6 +148,7 @@ AttributeKey::AttributeKey(nsMapAttributesFunc aMapFunc, nsIHTMLAttributes* aAtt { NS_ADDREF(mAttributes); mHashSet = 0; + mHashCode = 0; } AttributeKey::~AttributeKey(void) diff --git a/layout/html/style/src/nsHTMLStyleSheet.cpp b/layout/html/style/src/nsHTMLStyleSheet.cpp index ff436ab332c7..014a0cc176b5 100644 --- a/layout/html/style/src/nsHTMLStyleSheet.cpp +++ b/layout/html/style/src/nsHTMLStyleSheet.cpp @@ -148,6 +148,7 @@ AttributeKey::AttributeKey(nsMapAttributesFunc aMapFunc, nsIHTMLAttributes* aAtt { NS_ADDREF(mAttributes); mHashSet = 0; + mHashCode = 0; } AttributeKey::~AttributeKey(void) diff --git a/layout/style/nsHTMLStyleSheet.cpp b/layout/style/nsHTMLStyleSheet.cpp index ff436ab332c7..014a0cc176b5 100644 --- a/layout/style/nsHTMLStyleSheet.cpp +++ b/layout/style/nsHTMLStyleSheet.cpp @@ -148,6 +148,7 @@ AttributeKey::AttributeKey(nsMapAttributesFunc aMapFunc, nsIHTMLAttributes* aAtt { NS_ADDREF(mAttributes); mHashSet = 0; + mHashCode = 0; } AttributeKey::~AttributeKey(void)