зеркало из https://github.com/mozilla/gecko-dev.git
Bug 28670: Move XUL scrollbar removal to nsCSSFrameConstructor r=travis a=rickg
This commit is contained in:
Родитель
54c57adf37
Коммит
3328c4a8ea
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче