From f6c30db66ff60ccfd0c0da2fb47bf34af097fdda Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Fri, 2 Jul 1999 06:16:29 +0000 Subject: [PATCH] fix build bustage git-svn-id: svn://10.0.0.236/trunk@38007 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsCSSFrameConstructor.cpp | 4 ++-- mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index 2f0f35d451a..3f05a8d622d 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -5818,7 +5818,7 @@ FindFrameWithTextContent(nsIFrame* aFrame, nsIContent* aContent) // See if the frame points to the same content object kidFrame->GetContent(getter_AddRefs(kidContent)); - if (kidContent == aContent) { + if (kidContent.get() == aContent) { return kidFrame; } @@ -5853,7 +5853,7 @@ nsCSSFrameConstructor::FindPrimaryFrameFor(nsIPresContext* aPresContext, // The only content objects that we don't add a mapping to the hash table // for are text content objects, because they're anonymous - if (nsLayoutAtoms::textTagName == tag) { + if (nsLayoutAtoms::textTagName == tag.get()) { nsCOMPtr parentContent; nsCOMPtr presShell; nsIFrame* parentFrame; diff --git a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp index 2f0f35d451a..3f05a8d622d 100644 --- a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -5818,7 +5818,7 @@ FindFrameWithTextContent(nsIFrame* aFrame, nsIContent* aContent) // See if the frame points to the same content object kidFrame->GetContent(getter_AddRefs(kidContent)); - if (kidContent == aContent) { + if (kidContent.get() == aContent) { return kidFrame; } @@ -5853,7 +5853,7 @@ nsCSSFrameConstructor::FindPrimaryFrameFor(nsIPresContext* aPresContext, // The only content objects that we don't add a mapping to the hash table // for are text content objects, because they're anonymous - if (nsLayoutAtoms::textTagName == tag) { + if (nsLayoutAtoms::textTagName == tag.get()) { nsCOMPtr parentContent; nsCOMPtr presShell; nsIFrame* parentFrame;