Fixed order of calls.

git-svn-id: svn://10.0.0.236/trunk@33839 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
amusil%netscape.com 1999-06-04 22:53:31 +00:00
parent f9b0e90b64
commit f33ab1ce3c
2 changed files with 2 additions and 2 deletions

View File

@ -1490,9 +1490,9 @@ nsresult nsPluginHostImpl::FindStoppedPluginForURL(nsIURL* aURL, nsIPluginInstan
//instance->GetPeer(&peer);
((nsPluginInstancePeerImpl*)mActivePluginList[i].mPeer)->SetOwner(aOwner);
instance->Start();
aOwner->CreateWidget();
instance->SetWindow(window);
instance->Start();
mActivePluginList[i].mStopped = PR_FALSE;

View File

@ -1490,9 +1490,9 @@ nsresult nsPluginHostImpl::FindStoppedPluginForURL(nsIURL* aURL, nsIPluginInstan
//instance->GetPeer(&peer);
((nsPluginInstancePeerImpl*)mActivePluginList[i].mPeer)->SetOwner(aOwner);
instance->Start();
aOwner->CreateWidget();
instance->SetWindow(window);
instance->Start();
mActivePluginList[i].mStopped = PR_FALSE;