summaryrefslogtreecommitdiff
path: root/js/ipc/WrapperOwner.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/ipc/WrapperOwner.h')
-rw-r--r--js/ipc/WrapperOwner.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/ipc/WrapperOwner.h b/js/ipc/WrapperOwner.h
index 31291b5bfa..aee7111620 100644
--- a/js/ipc/WrapperOwner.h
+++ b/js/ipc/WrapperOwner.h
@@ -59,7 +59,8 @@ class WrapperOwner : public virtual JavaScriptShared
bool getPrototypeIfOrdinary(JSContext* cx, JS::HandleObject proxy, bool* isOrdinary,
JS::MutableHandleObject protop);
- bool regexp_toShared(JSContext* cx, JS::HandleObject proxy, js::RegExpGuard* g);
+ bool regexp_toShared(JSContext* cx, JS::HandleObject proxy,
+ js::MutableHandle<js::RegExpShared*> shared);
nsresult instanceOf(JSObject* obj, const nsID* id, bool* bp);