Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@172836 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1608,12 +1608,6 @@ nsDocShell::SetZoom(float zoom)
|
||||
nsIViewManager* vm = presShell->GetViewManager();
|
||||
NS_ENSURE_TRUE(vm, NS_ERROR_FAILURE);
|
||||
|
||||
// get the root scrollable view
|
||||
nsIScrollableView *scrollableView = nsnull;
|
||||
vm->GetRootScrollableView(&scrollableView);
|
||||
if (scrollableView)
|
||||
scrollableView->ComputeScrollOffsets();
|
||||
|
||||
// get the root view
|
||||
nsIView *rootView = nsnull; // views are not ref counted
|
||||
vm->GetRootView(rootView);
|
||||
|
||||
Reference in New Issue
Block a user