mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 833151 - Avoid unnecessary copy of CompileOptions. r=benjamin.
--HG-- extra : rebase_source : 542536e11e35f31bec2c5811bcfc56e491d6358a
This commit is contained in:
parent
4f1964926a
commit
d39f7209a7
@ -5677,7 +5677,7 @@ JS::Evaluate(JSContext *cx, HandleObject obj, CompileOptions options,
|
||||
return false;
|
||||
}
|
||||
|
||||
options = options.setFileAndLine(filename, 1);
|
||||
options.setFileAndLine(filename, 1);
|
||||
return Evaluate(cx, obj, options, buffer.begin(), buffer.length(), rval);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user