Use proper calls to refresh the display (however, at this time the view manager is busted so it won't work)
git-svn-id: svn://10.0.0.236/trunk@15032 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -253,7 +253,9 @@ nsWebCrawler:: EndLoadURL(nsIWebShell* aShell,
|
||||
nsIViewManager* vm;
|
||||
vm = shell->GetViewManager();
|
||||
if (nsnull != vm) {
|
||||
vm->EnableRefresh();
|
||||
nsIView* rootView;
|
||||
vm->GetRootView(rootView);
|
||||
vm->UpdateView(rootView, nsnull, NS_VMREFRESH_IMMEDIATE);
|
||||
NS_RELEASE(vm);
|
||||
}
|
||||
NS_RELEASE(shell);
|
||||
|
||||
Reference in New Issue
Block a user