diff --git a/dom/base/nsDOMClassInfo.cpp b/dom/base/nsDOMClassInfo.cpp index 210c00970ac..c2c05e6466d 100644 --- a/dom/base/nsDOMClassInfo.cpp +++ b/dom/base/nsDOMClassInfo.cpp @@ -902,7 +902,7 @@ nsDOMClassInfo::AddProperty(nsIXPConnectWrappedNative *wrapper, JSContext *cx, NS_IMETHODIMP nsDOMClassInfo::GetProperty(nsIXPConnectWrappedNative *wrapper, JSContext *cx, - JSObject *obj, jsid id, jsval *vp, + JSObject *obj, jsid id, JS::Value *vp, bool *_retval) { NS_WARNING("nsDOMClassInfo::GetProperty Don't call me!"); @@ -912,7 +912,7 @@ nsDOMClassInfo::GetProperty(nsIXPConnectWrappedNative *wrapper, JSContext *cx, NS_IMETHODIMP nsDOMClassInfo::SetProperty(nsIXPConnectWrappedNative *wrapper, JSContext *cx, - JSObject *obj, jsid id, jsval *vp, + JSObject *obj, jsid id, JS::Value *vp, bool *_retval) { NS_WARNING("nsDOMClassInfo::SetProperty Don't call me!"); @@ -1339,7 +1339,7 @@ public: bool *_retval); nsresult HasInstance(nsIXPConnectWrappedNative *wrapper, JSContext *cx, - JS::Handle obj, const jsval &val, bool *bp, + JS::Handle obj, const JS::Value &val, bool *bp, bool *_retval); nsresult ResolveInterfaceConstants(JSContext *cx, JS::Handle obj); @@ -1499,7 +1499,7 @@ nsDOMConstructor::Construct(nsIXPConnectWrappedNative *wrapper, JSContext * cx, nsresult nsDOMConstructor::HasInstance(nsIXPConnectWrappedNative *wrapper, JSContext * cx, JS::Handle obj, - const jsval &v, bool *bp, bool *_retval) + const JS::Value &v, bool *bp, bool *_retval) { // No need to look these up in the hash. diff --git a/dom/workers/Workers.h b/dom/workers/Workers.h index 7fa9967c557..4a8fc7c791f 100644 --- a/dom/workers/Workers.h +++ b/dom/workers/Workers.h @@ -340,7 +340,7 @@ public: }; WorkerCrossThreadDispatcher* -GetWorkerCrossThreadDispatcher(JSContext* aCx, jsval aWorker); +GetWorkerCrossThreadDispatcher(JSContext* aCx, JS::Value aWorker); // Random unique constant to facilitate JSPrincipal debugging const uint32_t kJSPrincipalsDebugToken = 0x7e2df9d2; diff --git a/storage/mozStorageAsyncStatementJSHelper.cpp b/storage/mozStorageAsyncStatementJSHelper.cpp index 9b365d0396d..69397db1ff6 100644 --- a/storage/mozStorageAsyncStatementJSHelper.cpp +++ b/storage/mozStorageAsyncStatementJSHelper.cpp @@ -28,7 +28,7 @@ nsresult AsyncStatementJSHelper::getParams(AsyncStatement *aStatement, JSContext *aCtx, JSObject *aScopeObj, - jsval *_params) + JS::Value *_params) { MOZ_ASSERT(NS_IsMainThread()); nsresult rv; @@ -91,7 +91,7 @@ AsyncStatementJSHelper::GetProperty(nsIXPConnectWrappedNative *aWrapper, JSContext *aCtx, JSObject *aScopeObj, jsid aId, - jsval *_result, + JS::Value *_result, bool *_retval) { if (!JSID_IS_STRING(aId)) diff --git a/storage/mozStorageStatementJSHelper.cpp b/storage/mozStorageStatementJSHelper.cpp index 1c92f586049..c05a0a53afc 100644 --- a/storage/mozStorageStatementJSHelper.cpp +++ b/storage/mozStorageStatementJSHelper.cpp @@ -29,7 +29,7 @@ static bool stepFunc(JSContext *aCtx, uint32_t, - jsval *_vp) + JS::Value *_vp) { nsCOMPtr xpc(Service::getXPConnect()); nsCOMPtr wrapper; @@ -82,7 +82,7 @@ nsresult StatementJSHelper::getRow(Statement *aStatement, JSContext *aCtx, JSObject *aScopeObj, - jsval *_row) + JS::Value *_row) { MOZ_ASSERT(NS_IsMainThread()); nsresult rv; @@ -126,7 +126,7 @@ nsresult StatementJSHelper::getParams(Statement *aStatement, JSContext *aCtx, JSObject *aScopeObj, - jsval *_params) + JS::Value *_params) { MOZ_ASSERT(NS_IsMainThread()); nsresult rv; @@ -190,7 +190,7 @@ StatementJSHelper::GetProperty(nsIXPConnectWrappedNative *aWrapper, JSContext *aCtx, JSObject *aScopeObj, jsid aId, - jsval *_result, + JS::Value *_result, bool *_retval) { if (!JSID_IS_STRING(aId)) diff --git a/storage/mozStorageStatementRow.cpp b/storage/mozStorageStatementRow.cpp index af61804b335..57954615c6a 100644 --- a/storage/mozStorageStatementRow.cpp +++ b/storage/mozStorageStatementRow.cpp @@ -44,7 +44,7 @@ StatementRow::GetProperty(nsIXPConnectWrappedNative *aWrapper, JSContext *aCtx, JSObject *aScopeObj, jsid aId, - jsval *_vp, + JS::Value *_vp, bool *_retval) { NS_ENSURE_TRUE(mStatement, NS_ERROR_NOT_INITIALIZED);