зеркало из https://github.com/mozilla/pjs.git
Bug 28670: Move XUL scrollbar removal to nsCSSFrameConstructor r=travis a=rickg
This commit is contained in:
Родитель
4f12cda18b
Коммит
4b87b2a468
|
@ -3514,10 +3514,6 @@ nsXULDocument::StartLayout(void)
|
||||||
if (! webShell)
|
if (! webShell)
|
||||||
return NS_ERROR_UNEXPECTED;
|
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;
|
nsCOMPtr<nsIWebShellContainer> webShellContainer;
|
||||||
webShell->GetContainer(*getter_AddRefs(webShellContainer));
|
webShell->GetContainer(*getter_AddRefs(webShellContainer));
|
||||||
NS_ASSERTION(webShellContainer != nsnull, "webshell has no container");
|
NS_ASSERTION(webShellContainer != nsnull, "webshell has no container");
|
||||||
|
|
|
@ -3514,10 +3514,6 @@ nsXULDocument::StartLayout(void)
|
||||||
if (! webShell)
|
if (! webShell)
|
||||||
return NS_ERROR_UNEXPECTED;
|
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;
|
nsCOMPtr<nsIWebShellContainer> webShellContainer;
|
||||||
webShell->GetContainer(*getter_AddRefs(webShellContainer));
|
webShell->GetContainer(*getter_AddRefs(webShellContainer));
|
||||||
NS_ASSERTION(webShellContainer != nsnull, "webshell has no container");
|
NS_ASSERTION(webShellContainer != nsnull, "webshell has no container");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче