Fix unix breakge by using .get()

This commit is contained in:
mscott%netscape.com 2000-09-01 23:07:57 +00:00
Родитель 28d435d036
Коммит 71c9706151
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -553,7 +553,7 @@ NS_IMETHODIMP nsURILoader::GetTarget(nsIChannel * aChannel, const char * aWindow
// during GetTarget, then tweak the load attributes on the channel to set the
// LOAD_RETARGETED_DOCUMENT_URI flag...
nsCOMPtr<nsISupports> retargetedWindowCtxt = do_QueryInterface(treeItem);
if (retargetedWindowCtxt && (aWindowContext != retargetedWindowCtxt))
if (retargetedWindowCtxt && (aWindowContext != retargetedWindowCtxt.get()))
{
// we must be retargeting...so set an appropriate flag on the channel
nsLoadFlags loadAttribs = 0;