mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1290337 - Part 21: Use const reference in BarrierMethods::exposeToJS. r=sfink
This commit is contained in:
parent
7df44c80a0
commit
ac643f0834
@ -1739,7 +1739,7 @@ struct BarrierMethods<JS::Value>
|
||||
static void postBarrier(JS::Value* v, const JS::Value& prev, const JS::Value& next) {
|
||||
JS::HeapValuePostBarrier(v, prev, next);
|
||||
}
|
||||
static void exposeToJS(JS::Value v) {
|
||||
static void exposeToJS(const JS::Value& v) {
|
||||
JS::ExposeValueToActiveJS(v);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user