--- chimera/BookmarksService.mm 2002/02/11 15:15:50 1.13 +++ chimera/BookmarksService.mm 2002/02/12 01:47:57 1.14 @@ -85,7 +85,7 @@ getter_AddRefs(elt)); // Fetch the title of the current page and the URL. - nsCOMPtr webBrowser = getter_AddRefs([[mBrowserView getBrowserView] getWebBrowser]); + nsCOMPtr webBrowser = getter_AddRefs([[[mBrowserWindowController getMyBrowserView] getBrowserView] getWebBrowser]); nsCOMPtr window; webBrowser->GetContentDOMWindow(getter_AddRefs(window)); nsCOMPtr htmlDoc; @@ -167,7 +167,7 @@ if (!href.IsEmpty()) { nsCAutoString cstr; cstr.AssignWithConversion(href); NSString* url = [NSString stringWithCString: cstr.get()]; - [[mBrowserView getBrowserView] loadURI:[NSURL URLWithString: url] flags:NSLoadFlagsNone]; + [[[mBrowserWindowController getMyBrowserView] getBrowserView] loadURI:[NSURL URLWithString: url] flags:NSLoadFlagsNone]; } } }