From 641a62a2b59fa5b06f932a0aef803e7c3e827b52 Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Mon, 14 Aug 2000 04:29:54 +0000 Subject: [PATCH] Fixing harpoon. --- content/xbl/src/nsXBLService.cpp | 2 +- layout/xbl/src/nsXBLService.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/xbl/src/nsXBLService.cpp b/content/xbl/src/nsXBLService.cpp index fbf8de1f3048..02b7634ed88f 100644 --- a/content/xbl/src/nsXBLService.cpp +++ b/content/xbl/src/nsXBLService.cpp @@ -1032,7 +1032,7 @@ nsXBLService::FetchBindingDocument(nsIContent* aBoundElement, nsIURI* aURI, cons nsCOMPtr tagName; aBoundElement->GetTag(*getter_AddRefs(tagName)); - if (tagName != kScrollbarAtom) { + if (tagName.get() != kScrollbarAtom) { // We can be asynchronous nsXBLStreamListener* xblListener = new nsXBLStreamListener(listener, boundDoc, doc); diff --git a/layout/xbl/src/nsXBLService.cpp b/layout/xbl/src/nsXBLService.cpp index fbf8de1f3048..02b7634ed88f 100644 --- a/layout/xbl/src/nsXBLService.cpp +++ b/layout/xbl/src/nsXBLService.cpp @@ -1032,7 +1032,7 @@ nsXBLService::FetchBindingDocument(nsIContent* aBoundElement, nsIURI* aURI, cons nsCOMPtr tagName; aBoundElement->GetTag(*getter_AddRefs(tagName)); - if (tagName != kScrollbarAtom) { + if (tagName.get() != kScrollbarAtom) { // We can be asynchronous nsXBLStreamListener* xblListener = new nsXBLStreamListener(listener, boundDoc, doc);