Fix crash when a new page loads while the previous page's context menu is active, and Customize is in the toolbar (bug 168051). r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@144366 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
06a9326aec
commit
df6a4e9f2a
@ -199,7 +199,6 @@ typedef enum
|
||||
- (void)loadURL:(NSString*)aURLSpec referrer:(NSString*)aReferrer activate:(BOOL)activate;
|
||||
- (void)updateLocationFields:(NSString *)locationString;
|
||||
- (void)updateSiteIcons:(NSImage *)siteIconImage;
|
||||
- (void)updateToolbarItems;
|
||||
- (void)loadingStarted;
|
||||
- (void)loadingDone;
|
||||
- (void)focusURLBar;
|
||||
|
||||
@ -982,21 +982,14 @@ static NSArray* sToolbarDefaults = nil;
|
||||
|
||||
- (void)loadingStarted
|
||||
{
|
||||
[self updateToolbarItems];
|
||||
[self startThrobber];
|
||||
}
|
||||
|
||||
- (void)loadingDone
|
||||
{
|
||||
[self updateToolbarItems];
|
||||
[self stopThrobber];
|
||||
[mHistoryDataSource refresh];
|
||||
}
|
||||
|
||||
- (void)updateToolbarItems
|
||||
{
|
||||
[[[self window] toolbar] validateVisibleItems];
|
||||
}
|
||||
|
||||
- (void)performAppropriateLocationAction
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user