mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
small correction to last revision. code=hyatt@netscape.com
This commit is contained in:
parent
34392727b5
commit
e9c330dad7
@ -359,7 +359,7 @@ nsXBLStreamListener::Load(nsIDOMEvent* aEvent)
|
||||
// reflow on this binding doc to deal with the fact that iframes
|
||||
// don't construct or load their subdocs until they get a reflow.
|
||||
if (count > 0) {
|
||||
nsXBLBindingRequest* req = (nsXBLBindingRequest*)mBindingRequests.ElementAt(i);
|
||||
nsXBLBindingRequest* req = (nsXBLBindingRequest*)mBindingRequests.ElementAt(0);
|
||||
nsCOMPtr<nsIDocument> document;
|
||||
req->mBoundElement->GetDocument(*getter_AddRefs(document));
|
||||
if (document)
|
||||
|
@ -359,7 +359,7 @@ nsXBLStreamListener::Load(nsIDOMEvent* aEvent)
|
||||
// reflow on this binding doc to deal with the fact that iframes
|
||||
// don't construct or load their subdocs until they get a reflow.
|
||||
if (count > 0) {
|
||||
nsXBLBindingRequest* req = (nsXBLBindingRequest*)mBindingRequests.ElementAt(i);
|
||||
nsXBLBindingRequest* req = (nsXBLBindingRequest*)mBindingRequests.ElementAt(0);
|
||||
nsCOMPtr<nsIDocument> document;
|
||||
req->mBoundElement->GetDocument(*getter_AddRefs(document));
|
||||
if (document)
|
||||
|
Loading…
Reference in New Issue
Block a user