Commit 4485ec46 authored by Andrew McCreight's avatar Andrew McCreight Committed by morgan
Browse files

Bug 1923706 - Pass by value, not reference in CamerasChild::AllocateCapture. a=RyanVM

parent 8903c10b
Loading
Loading
Loading
Loading
+1 −1
Changes for dom/media/systemservices/CamerasChild.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -331,7 +331,7 @@ int CamerasChild::AllocateCapture(CaptureEngine aCapEngine,
  LOG(("%s", __PRETTY_FUNCTION__));
  nsCString unique_id(unique_idUTF8);
  nsCOMPtr<nsIRunnable> runnable =
      mozilla::NewRunnableMethod<CaptureEngine, nsCString, const uint64_t&>(
      mozilla::NewRunnableMethod<CaptureEngine, nsCString, uint64_t>(
          "camera::PCamerasChild::SendAllocateCapture", this,
          &CamerasChild::SendAllocateCapture, aCapEngine, unique_id, aWindowID);
  LockAndDispatch<> dispatcher(this, __func__, runnable, -1, mReplyInteger);