Skip to content
Snippets Groups Projects
Verified Commit 5efccb49 authored by Andrew McCreight's avatar Andrew McCreight Committed by ma1
Browse files

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

parent 72a03207
Branches
Tags
No related merge requests found
......@@ -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);
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment