killed viewmanager SetRootWindow() call.
git-svn-id: svn://10.0.0.236/trunk@8552 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
dac30eb9e4
commit
56715faccc
@ -1021,11 +1021,6 @@ PresShell::VerifyIncrementalReflow()
|
||||
|
||||
// Setup hierarchical relationship in view manager
|
||||
vm->SetRootView(view);
|
||||
nsIWidget* window = view->GetWidget();
|
||||
if (window) {
|
||||
vm->SetRootWindow(window);
|
||||
NS_RELEASE(window);
|
||||
}
|
||||
|
||||
// Make the new presentation context the same size as our
|
||||
// presentation context.
|
||||
|
||||
@ -524,9 +524,6 @@ nsresult DocumentViewerImpl::MakeWindow(nsNativeWidget aNativeParent,
|
||||
// Setup hierarchical relationship in view manager
|
||||
mViewManager->SetRootView(mView);
|
||||
mWindow = mView->GetWidget();
|
||||
if (nsnull != mWindow) {
|
||||
mViewManager->SetRootWindow(mWindow);
|
||||
}
|
||||
|
||||
//set frame rate to 25 fps
|
||||
mViewManager->SetFrameRate(25);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user