зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1447982 - Remove unused MediaEnginePrefs from AllocationHandle. r=padenot
MozReview-Commit-ID: 3gIU7MCddWG --HG-- extra : rebase_source : f894d4dcefe229cd8b3aa170c9dd617b4a2b6314
This commit is contained in:
Родитель
1776ec7eae
Коммит
cb8419331d
|
@ -44,20 +44,17 @@ public:
|
|||
AllocationHandle() = delete;
|
||||
AllocationHandle(const dom::MediaTrackConstraints& aConstraints,
|
||||
const ipc::PrincipalInfo& aPrincipalInfo,
|
||||
const MediaEnginePrefs& aPrefs,
|
||||
const nsString& aDeviceId)
|
||||
: mId(GetUniqueId())
|
||||
, mDeviceId(aDeviceId)
|
||||
, mPrincipalInfo(aPrincipalInfo)
|
||||
, mConstraints(aConstraints)
|
||||
, mPrefs(aPrefs)
|
||||
{}
|
||||
|
||||
const uint64_t mId;
|
||||
const nsString mDeviceId;
|
||||
const ipc::PrincipalInfo mPrincipalInfo;
|
||||
NormalizedConstraints mConstraints;
|
||||
MediaEnginePrefs mPrefs;
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
|
|
@ -586,7 +586,7 @@ MediaEngineWebRTCMicrophoneSource::Allocate(const dom::MediaTrackConstraints &aC
|
|||
AssertIsOnOwningThread();
|
||||
MOZ_ASSERT(aOutHandle);
|
||||
auto handle = MakeRefPtr<AllocationHandle>(aConstraints, aPrincipalInfo,
|
||||
aPrefs, aDeviceId);
|
||||
aDeviceId);
|
||||
|
||||
LOG(("Mic source %p allocation %p Allocate()", this, handle.get()));
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче