From e418bae61671f39a0afff000b3efa0bcda8320bf Mon Sep 17 00:00:00 2001 From: "evaughan%netscape.com" Date: Thu, 19 Aug 1999 23:33:38 +0000 Subject: [PATCH] Fixed compile bug. git-svn-id: svn://10.0.0.236/trunk@43747 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsGfxScrollFrame.cpp | 2 +- mozilla/layout/html/base/src/nsGfxScrollFrame.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/generic/nsGfxScrollFrame.cpp b/mozilla/layout/generic/nsGfxScrollFrame.cpp index 090e9dfd68a..a5f2722f0c1 100644 --- a/mozilla/layout/generic/nsGfxScrollFrame.cpp +++ b/mozilla/layout/generic/nsGfxScrollFrame.cpp @@ -1121,7 +1121,7 @@ nsGfxScrollFrame::AttributeChanged(nsIDocument *aDocument, mHScrollbarFrame->GetContent(getter_AddRefs(hcontent)); mVScrollbarFrame->GetContent(getter_AddRefs(vcontent)); - if (hcontent == aContent || vcontent == aContent) + if (hcontent.get() == aContent || vcontent.get() == aContent) { nscoord x = 0; nscoord y = 0; diff --git a/mozilla/layout/html/base/src/nsGfxScrollFrame.cpp b/mozilla/layout/html/base/src/nsGfxScrollFrame.cpp index 090e9dfd68a..a5f2722f0c1 100644 --- a/mozilla/layout/html/base/src/nsGfxScrollFrame.cpp +++ b/mozilla/layout/html/base/src/nsGfxScrollFrame.cpp @@ -1121,7 +1121,7 @@ nsGfxScrollFrame::AttributeChanged(nsIDocument *aDocument, mHScrollbarFrame->GetContent(getter_AddRefs(hcontent)); mVScrollbarFrame->GetContent(getter_AddRefs(vcontent)); - if (hcontent == aContent || vcontent == aContent) + if (hcontent.get() == aContent || vcontent.get() == aContent) { nscoord x = 0; nscoord y = 0;