fix build bustage

git-svn-id: svn://10.0.0.236/trunk@38007 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
1999-07-02 06:16:29 +00:00
parent 34c78a50f5
commit f6c30db66f
2 changed files with 4 additions and 4 deletions

View File

@@ -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<nsIContent> parentContent;
nsCOMPtr<nsIPresShell> presShell;
nsIFrame* parentFrame;

View File

@@ -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<nsIContent> parentContent;
nsCOMPtr<nsIPresShell> presShell;
nsIFrame* parentFrame;