Undo the checkin for bug 135811 and refix it better. Fixes bug 279495.
r=danm, sr=jst
This commit is contained in:
@@ -2089,7 +2089,7 @@ nsDocShell::FindItemWithName(const PRUnichar * aName,
|
||||
|
||||
// This may fail, but comparing against null serves the same purpose
|
||||
nsCOMPtr<nsIDocShellTreeOwner>
|
||||
reqAsTreeOwner(do_GetInterface(aRequestor));
|
||||
reqAsTreeOwner(do_QueryInterface(aRequestor));
|
||||
|
||||
if (mTreeOwner && mTreeOwner != reqAsTreeOwner) {
|
||||
return mTreeOwner->
|
||||
|
||||
Reference in New Issue
Block a user