From a9ca071a88cdc67d6030721f3e11b2b8b656b5c5 Mon Sep 17 00:00:00 2001 From: "sfraser%netscape.com" Date: Thu, 12 Apr 2001 01:26:57 +0000 Subject: [PATCH] Blue boxes be gone! Fixing 58121, r=jfrancis, sr=attinasi. git-svn-id: svn://10.0.0.236/trunk@92045 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsHTMLContainerFrame.cpp | 6 ++---- mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/mozilla/layout/generic/nsHTMLContainerFrame.cpp b/mozilla/layout/generic/nsHTMLContainerFrame.cpp index 0ef4b217993..a42c06b9be1 100644 --- a/mozilla/layout/generic/nsHTMLContainerFrame.cpp +++ b/mozilla/layout/generic/nsHTMLContainerFrame.cpp @@ -105,8 +105,7 @@ nsHTMLContainerFrame::Paint(nsIPresContext* aPresContext, PaintChildren(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer); - // see if we have to draw a selection frame around this container - return nsFrame::Paint(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer); + return NS_OK; } /** @@ -166,8 +165,7 @@ ReparentFrameViewTo(nsIPresContext* aPresContext, aFrame->GetView(aPresContext, &view); if (view) { // Verify that the current parent view is what we think it is - nsIView* parentView; - + //nsIView* parentView; //NS_ASSERTION(parentView == aOldParentView, "unexpected parent view"); // Change the parent view. diff --git a/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp b/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp index 0ef4b217993..a42c06b9be1 100644 --- a/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp +++ b/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp @@ -105,8 +105,7 @@ nsHTMLContainerFrame::Paint(nsIPresContext* aPresContext, PaintChildren(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer); - // see if we have to draw a selection frame around this container - return nsFrame::Paint(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer); + return NS_OK; } /** @@ -166,8 +165,7 @@ ReparentFrameViewTo(nsIPresContext* aPresContext, aFrame->GetView(aPresContext, &view); if (view) { // Verify that the current parent view is what we think it is - nsIView* parentView; - + //nsIView* parentView; //NS_ASSERTION(parentView == aOldParentView, "unexpected parent view"); // Change the parent view.