Bug 881333 - Use accessor methods for cx->compartment and cx->runtime, r=luke.

This commit is contained in:
Brian Hackett
2013-06-10 15:22:18 -06:00
parent d27b69de9a
commit c0af46133d
104 changed files with 1072 additions and 1059 deletions

View File

@@ -314,7 +314,7 @@ frontend::CompileLazyFunction(JSContext *cx, HandleFunction fun, LazyScript *laz
const jschar *chars, size_t length)
{
CompileOptions options(cx);
options.setPrincipals(cx->compartment->principals)
options.setPrincipals(cx->compartment()->principals)
.setOriginPrincipals(lazy->parent()->originPrincipals)
.setVersion(lazy->parent()->getVersion())
.setFileAndLine(lazy->parent()->filename(), lazy->lineno())