Bug 1290337 - Part 16: Replace Value parameter to const Value& in dom. r=smaug
This commit is contained in:
@@ -6655,7 +6655,7 @@ EventTarget::IsOnCurrentThread(bool* aIsOnCurrentThread)
|
||||
BEGIN_WORKERS_NAMESPACE
|
||||
|
||||
WorkerCrossThreadDispatcher*
|
||||
GetWorkerCrossThreadDispatcher(JSContext* aCx, JS::Value aWorker)
|
||||
GetWorkerCrossThreadDispatcher(JSContext* aCx, const JS::Value& aWorker)
|
||||
{
|
||||
if (!aWorker.isObject()) {
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user