From 4537398482526a50bfbede1215c14f98e724abed Mon Sep 17 00:00:00 2001 From: "sfraser%netscape.com" Date: Wed, 28 Apr 1999 04:29:13 +0000 Subject: [PATCH] Fix bustage (comparison of nsCOMPtr with nsIFoo*) git-svn-id: svn://10.0.0.236/trunk@29676 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/components/find/src/nsFindComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpfe/components/find/src/nsFindComponent.cpp b/mozilla/xpfe/components/find/src/nsFindComponent.cpp index 2c22c54e500..ac481aba26d 100644 --- a/mozilla/xpfe/components/find/src/nsFindComponent.cpp +++ b/mozilla/xpfe/components/find/src/nsFindComponent.cpp @@ -215,7 +215,7 @@ nsFindComponent::Context::MakeTSDocument() { if ( document && presShell ) { // Compare this document with the one we searched last time. - if ( document == mLastDocument ) { + if ( document.get() == mLastDocument ) { // Same document, use the block index/offset we have remembered. } else { // New document, remember it and reset saved index/offset.