| Index: remoting/jingle_glue/javascript_iq_request.cc
|
| diff --git a/remoting/jingle_glue/javascript_iq_request.cc b/remoting/jingle_glue/javascript_iq_request.cc
|
| index 0b75c71a51244790a45ed78becd5d36efcb72c61..b08ffe980c0d173fcf11095035b926f4f209a924 100644
|
| --- a/remoting/jingle_glue/javascript_iq_request.cc
|
| +++ b/remoting/jingle_glue/javascript_iq_request.cc
|
| @@ -57,7 +57,7 @@ void JavascriptIqRegistry::OnIncomingStanza(const buzz::XmlElement* stanza) {
|
| // JavascriptIqRequest::SendIq(), but remove in
|
| // JavascriptIqRegistry::OnIq(). We should try to keep the
|
| // registration/deregistration in one spot.
|
| - if (it->second->callback_.is_null()) {
|
| + if (!it->second->callback_.is_null()) {
|
| it->second->callback_.Run(stanza);
|
| it->second->callback_.Reset();
|
| } else {
|
|
|