oops, back out a checkin that wasn't supposed to land
git-svn-id: svn://10.0.0.236/trunk@140270 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
cef0965205
commit
91bc90e78f
@ -2971,7 +2971,7 @@ nsGenericElement::TriggerLink(nsIPresContext* aPresContext,
|
||||
nsLinkVerb aVerb,
|
||||
nsIURI* aBaseURL,
|
||||
const nsAString& aURLSpec,
|
||||
const nsAString& aTargetSpec,
|
||||
const nsAFlatString& aTargetSpec,
|
||||
PRBool aClick)
|
||||
{
|
||||
nsCOMPtr<nsILinkHandler> handler;
|
||||
@ -3006,10 +3006,10 @@ nsGenericElement::TriggerLink(nsIPresContext* aPresContext,
|
||||
// says it's ok.
|
||||
if (NS_SUCCEEDED(proceed))
|
||||
handler->OnLinkClick(this, aVerb, targetURI,
|
||||
PromiseFlatString(aTargetSpec).get());
|
||||
aTargetSpec.get());
|
||||
} else {
|
||||
handler->OnOverLink(this, targetURI,
|
||||
PromiseFlatString(aTargetSpec).get());
|
||||
aTargetSpec.get());
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user