diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-04-12 14:43:58 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-04-12 15:27:41 +0200 |
commit | e49724a4435a2a5ae5f33901a26201222465dde9 (patch) | |
tree | 8867c793d2e49aa6a78980bcf450232f87229341 /src/v4/qv4runtime.cpp | |
parent | b85758207a906f2b0dfc1cbb7f66878bf53f86e8 (diff) |
Remove context arguments where they aren't required
A bunch of methods took pointers to the current execution
context even though they don't require it.
Change-Id: I2a504a72069af16bb8bdbb62be438ee1cab723b0
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/v4/qv4runtime.cpp')
-rw-r--r-- | src/v4/qv4runtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4/qv4runtime.cpp b/src/v4/qv4runtime.cpp index fcc2b4f5a1..727aa6e4a8 100644 --- a/src/v4/qv4runtime.cpp +++ b/src/v4/qv4runtime.cpp @@ -246,7 +246,7 @@ void __qmljs_in(ExecutionContext *ctx, Value *result, const Value &left, const V if (!right.isObject()) ctx->throwTypeError(); String *s = left.toString(ctx); - bool r = right.objectValue()->__hasProperty__(ctx, s); + bool r = right.objectValue()->__hasProperty__(s); *result = Value::fromBoolean(r); } |