mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 19:38:13 +00:00
pass in the main browser context to HTNewPane() for what'sRelated info.
This commit is contained in:
parent
8b18e19d64
commit
490429d010
@ -1889,7 +1889,7 @@ CBrowserWindow :: PopDownTreeView ( Uint16 inLeft, Uint16 inTop, HT_Resource inR
|
||||
|
||||
mPopdownParent->ResizeFrameTo ( kTreeWidth, newHeight, false );
|
||||
mPopdownParent->PlaceInSuperImageAt ( inLeft, inTop, false );
|
||||
mPopdownParent->BuildHTPane ( inResource );
|
||||
mPopdownParent->BuildHTPane ( inResource, *(mHTMLView->GetContext()) );
|
||||
|
||||
mSavedPopdownTarget = LCommander::GetTarget();
|
||||
LCommander::SwitchTarget(mPopdownParent);
|
||||
@ -1954,7 +1954,7 @@ void
|
||||
CBrowserWindow :: OpenDockedTreeView ( HT_Resource inTopNode )
|
||||
{
|
||||
mNavCenterParent->NavCenterShelf().SetShelfState(true, NULL);
|
||||
mNavCenterParent->BuildHTPane ( inTopNode );
|
||||
mNavCenterParent->BuildHTPane ( inTopNode, *mHTMLView->GetContext() );
|
||||
|
||||
} // OpenDockedTreeView
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user