Bug 1290337 - Part 16: Replace Value parameter to const Value& in dom. r=smaug

This commit is contained in:
Tooru Fujisawa
2016-09-11 18:15:24 +09:00
parent ba8b6965af
commit 11c4b51a67
6 changed files with 6 additions and 6 deletions

View File

@@ -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;