summaryrefslogtreecommitdiff
path: root/mozilla-1335250.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2017-04-19 20:37:17 +0200
committerMartin Stransky <stransky@redhat.com>2017-04-19 20:37:17 +0200
commit0f3627d2e516d95aa6e154a290b9946d2bcee4e9 (patch)
tree15bd6e8fcb1df9781d3bcd45b1687b4b9d7f1274 /mozilla-1335250.patch
parentAdded second arches build patch (diff)
downloadlibrewolf-fedora-ff-0f3627d2e516d95aa6e154a290b9946d2bcee4e9.tar.gz
librewolf-fedora-ff-0f3627d2e516d95aa6e154a290b9946d2bcee4e9.tar.bz2
librewolf-fedora-ff-0f3627d2e516d95aa6e154a290b9946d2bcee4e9.zip
more build fixes on second arches
Diffstat (limited to 'mozilla-1335250.patch')
-rw-r--r--mozilla-1335250.patch33
1 files changed, 13 insertions, 20 deletions
diff --git a/mozilla-1335250.patch b/mozilla-1335250.patch
index 1680349..8f7436c 100644
--- a/mozilla-1335250.patch
+++ b/mozilla-1335250.patch
@@ -1,16 +1,7 @@
-# HG changeset patch
-# User Andrea Marchesini <amarchesini@mozilla.com>
-# Parent b8b7103963d9f243b0a30c8bc0d9a0b37ed8a955
-
-diff --git a/dom/media/webrtc/MediaEngine.h b/dom/media/webrtc/MediaEngine.h
---- a/dom/media/webrtc/MediaEngine.h
-+++ b/dom/media/webrtc/MediaEngine.h
-@@ -221,27 +221,27 @@ public:
- class AllocationHandle
- {
- public:
- NS_INLINE_DECL_THREADSAFE_REFCOUNTING(AllocationHandle);
- protected:
+diff -up firefox-53.0/dom/media/webrtc/MediaEngine.h.1335250 firefox-53.0/dom/media/webrtc/MediaEngine.h
+--- firefox-53.0/dom/media/webrtc/MediaEngine.h.1335250 2017-04-11 06:15:22.000000000 +0200
++++ firefox-53.0/dom/media/webrtc/MediaEngine.h 2017-04-19 20:35:55.264741939 +0200
+@@ -226,7 +226,7 @@ public:
~AllocationHandle() {}
public:
AllocationHandle(const dom::MediaTrackConstraints& aConstraints,
@@ -19,9 +10,7 @@ diff --git a/dom/media/webrtc/MediaEngine.h b/dom/media/webrtc/MediaEngine.h
const MediaEnginePrefs& aPrefs,
const nsString& aDeviceId)
- : mConstraints(aConstraints),
- mPrincipalInfo(aPrincipalInfo),
- mPrefs(aPrefs),
+@@ -236,7 +236,7 @@ public:
mDeviceId(aDeviceId) {}
public:
NormalizedConstraints mConstraints;
@@ -30,8 +19,12 @@ diff --git a/dom/media/webrtc/MediaEngine.h b/dom/media/webrtc/MediaEngine.h
MediaEnginePrefs mPrefs;
nsString mDeviceId;
};
-
- /* Release the device back to the system. */
- virtual nsresult Deallocate(AllocationHandle* aHandle)
+@@ -327,7 +327,7 @@ public:
+ 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)
{
- MOZ_ASSERT(aHandle);
bgstack15