Bug 28670: Move XUL scrollbar removal to nsCSSFrameConstructor r=travis a=rickg

This commit is contained in:
pollmann%netscape.com 2000-02-29 06:51:05 +00:00
Родитель 54c57adf37
Коммит 3328c4a8ea
2 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -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<nsIWebShellContainer> webShellContainer;
webShell->GetContainer(*getter_AddRefs(webShellContainer));
NS_ASSERTION(webShellContainer != nsnull, "webshell has no container");

Просмотреть файл

@ -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<nsIWebShellContainer> webShellContainer;
webShell->GetContainer(*getter_AddRefs(webShellContainer));
NS_ASSERTION(webShellContainer != nsnull, "webshell has no container");