From 4b87b2a4685c35d0f4e7b83a6f3f7a18f494b23f Mon Sep 17 00:00:00 2001 From: "pollmann%netscape.com" Date: Tue, 29 Feb 2000 06:51:05 +0000 Subject: [PATCH] Bug 28670: Move XUL scrollbar removal to nsCSSFrameConstructor r=travis a=rickg --- content/xul/document/src/nsXULDocument.cpp | 4 ---- rdf/content/src/nsXULDocument.cpp | 4 ---- 2 files changed, 8 deletions(-) diff --git a/content/xul/document/src/nsXULDocument.cpp b/content/xul/document/src/nsXULDocument.cpp index 81912518dfd..e22e2974ca9 100644 --- a/content/xul/document/src/nsXULDocument.cpp +++ b/content/xul/document/src/nsXULDocument.cpp @@ -3514,10 +3514,6 @@ nsXULDocument::StartLayout(void) if (! webShell) return NS_ERROR_UNEXPECTED; - // Set current scrolling state (for this document) but not - // initial scrolling state (for this and all future documents) - webShell->SetScrolling(NS_STYLE_OVERFLOW_HIDDEN, PR_FALSE); - nsCOMPtr webShellContainer; webShell->GetContainer(*getter_AddRefs(webShellContainer)); NS_ASSERTION(webShellContainer != nsnull, "webshell has no container"); diff --git a/rdf/content/src/nsXULDocument.cpp b/rdf/content/src/nsXULDocument.cpp index 81912518dfd..e22e2974ca9 100644 --- a/rdf/content/src/nsXULDocument.cpp +++ b/rdf/content/src/nsXULDocument.cpp @@ -3514,10 +3514,6 @@ nsXULDocument::StartLayout(void) if (! webShell) return NS_ERROR_UNEXPECTED; - // Set current scrolling state (for this document) but not - // initial scrolling state (for this and all future documents) - webShell->SetScrolling(NS_STYLE_OVERFLOW_HIDDEN, PR_FALSE); - nsCOMPtr webShellContainer; webShell->GetContainer(*getter_AddRefs(webShellContainer)); NS_ASSERTION(webShellContainer != nsnull, "webshell has no container");