Bug 1335515 - Add mozilla:: prefix to make MediaEngine.h compile with --disable-webrtc. r=jesup
authorMats Palmgren <mats@mozilla.com>
Thu, 02 Feb 2017 09:12:29 -0500
changeset 469649 00aaf25b6e055dd3b557b0546a9c886865b5fff8
parent 469648 c4d61963ad98173d9f4c95e6dab1f0e316e8c0bc
child 469650 bfaa720977d27855278f1c1985636ea9f76d3cb4
push id43793
push userdmitchell@mozilla.com
push dateThu, 02 Feb 2017 14:41:57 +0000
reviewersjesup
bugs1335515, 1335250
milestone54.0a1
Bug 1335515 - Add mozilla:: prefix to make MediaEngine.h compile with --disable-webrtc. r=jesup Part of the original patch already landed in Bug 1335250
dom/media/webrtc/MediaEngine.h
--- a/dom/media/webrtc/MediaEngine.h
+++ b/dom/media/webrtc/MediaEngine.h
@@ -322,17 +322,17 @@ public:
 
   /* It is an error to call Start() before an Allocate(), and Stop() before
    * a Start(). Only Allocate() may be called after a Deallocate(). */
 
   /* This call reserves but does not start the device. */
   virtual nsresult Allocate(const dom::MediaTrackConstraints &aConstraints,
                             const MediaEnginePrefs &aPrefs,
                             const nsString& aDeviceId,
-                            const ipc::PrincipalInfo& aPrincipalInfo,
+                            const mozilla::ipc::PrincipalInfo& aPrincipalInfo,
                             AllocationHandle** aOutHandle,
                             const char** aOutBadConstraint)
   {
     AssertIsOnOwningThread();
     MOZ_ASSERT(aOutHandle);
     RefPtr<AllocationHandle> handle =
       new AllocationHandle(aConstraints, aPrincipalInfo, aPrefs, aDeviceId);
     nsresult rv = ReevaluateAllocation(handle, nullptr, aPrefs, aDeviceId,