Bug 1275510: RTSP: Add namespace when refering to |gIOService|, r?dragana draft
authorThomas Zimmermann <tdz@users.sourceforge.net>
Wed, 25 May 2016 11:00:58 +0200
changeset 370687 86a6816fb653830e6d12b480799f0f0709b052e2
parent 370474 5511d54a3f172c1d68f98cc55dce4de1d0ba1b51
child 521818 f3aad0c54af0cda36b3819fa1d1c1ab6def6742d
push id19136
push usertdz@users.sourceforge.net
push dateWed, 25 May 2016 09:01:50 +0000
reviewersdragana
bugs1275510
milestone49.0a1
Bug 1275510: RTSP: Add namespace when refering to |gIOService|, r?dragana MozReview-Commit-ID: 1Es1i5qLJgl
netwerk/protocol/rtsp/rtsp/RTSPConnectionHandler.h
--- a/netwerk/protocol/rtsp/rtsp/RTSPConnectionHandler.h
+++ b/netwerk/protocol/rtsp/rtsp/RTSPConnectionHandler.h
@@ -993,17 +993,17 @@ struct RtspConnectionHandler : public AH
                 size_t trackIndex;
                 msg->findSize("trackIndex", &trackIndex);
                 TrackInfo *track = &mTracks.editItemAt(trackIndex);
                 if (!track) {
                   break;
                 }
 
                 if (track->mNumAccessUnitsReceiveds == 0) {
-                    if (gIOService->IsOffline()) {
+                    if (mozilla::net::gIOService->IsOffline()) {
                         LOGI("stream ended? aborting.");
                         disconnect();
                         break;
                     }
                     sp<AMessage> endStreamMsg = new AMessage(kWhatEndOfStream, id());
                     endStreamMsg->setSize("trackIndex", trackIndex);
                     endStreamMsg->post();
                     break;