Commit d70cca80 authored by Simon Hausmann's avatar Simon Hausmann Committed by Qt by Nokia
Browse files

V8: Remove extra V8::Context allocated for expressing strong references


Moved the Referencer code into QV8Engine and re-used the available v8
context there. That also makes things a bit cleaner in the sense that now
references from one object to another are guaranteed to be within the same
context. Previously some strong references would be across contexts that
do not actually share a security token.

Change-Id: I717b27a4d96323feb570023d4d84f2b2176d1a84
Reviewed-by: default avatarAaron Kennedy <aaron.kennedy@nokia.com>
Reviewed-by: default avatarChris Adams <christopher.adams@nokia.com>
parent 9ae39c98
Showing with 104 additions and 116 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment