mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Fix nsCOMPtr sloppiness.
This commit is contained in:
parent
6d9438412e
commit
fe8d3ee23e
@ -380,7 +380,7 @@ XULCommandDispatcherImpl::Blur(nsIDOMEvent* aEvent)
|
||||
aEvent->GetTarget(getter_AddRefs(t));
|
||||
nsCOMPtr<nsIDOMElement> target = do_QueryInterface(t);
|
||||
|
||||
if (target.get() == mCurrentElement) {
|
||||
if (target == mCurrentElement) {
|
||||
SetFocusedElement(nsnull);
|
||||
UpdateCommands("blur");
|
||||
}
|
||||
|
@ -380,7 +380,7 @@ XULCommandDispatcherImpl::Blur(nsIDOMEvent* aEvent)
|
||||
aEvent->GetTarget(getter_AddRefs(t));
|
||||
nsCOMPtr<nsIDOMElement> target = do_QueryInterface(t);
|
||||
|
||||
if (target.get() == mCurrentElement) {
|
||||
if (target == mCurrentElement) {
|
||||
SetFocusedElement(nsnull);
|
||||
UpdateCommands("blur");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user