Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent. Bug 209573, r=caillon, sr=jst. git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1140,10 +1140,6 @@ nsWindowWatcher::URIfromURL(const char *aURL,
|
||||
doc = do_QueryInterface(domDoc);
|
||||
if (doc) {
|
||||
doc->GetBaseURL(getter_AddRefs(baseURI));
|
||||
|
||||
if (!baseURI) {
|
||||
doc->GetDocumentURL(getter_AddRefs(baseURI));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user