Undo the checkin for bug 135811 and refix it better. Fixes bug 279495.
r=danm, sr=jst git-svn-id: svn://10.0.0.236/trunk@168576 18797224-902f-48f8-a5cc-f745e15eee43
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