diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-05-07 17:01:32 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-08 14:42:40 +0200 |
commit | a93d5f3f0eaca242e3541881b735862dc994286a (patch) | |
tree | b52991392f756d9ab257ec4332df9d287f5bd35f /Source/JavaScriptCore/assembler/ARMAssembler.cpp | |
parent | 0fd6d091cbf7963584418f03701bf7e5311eaf17 (diff) | |
download | qtwebkit-a93d5f3f0eaca242e3541881b735862dc994286a.tar.gz |
Fix crash in pixmapToImageData binding
The result of JSContextGetGlobalObject is a wrapper-object not a
direct pointer to the global object. Instead access the global object
directly since we are already using other parts of the internal JS API.
The patch also adds a missing API shim that should be held when using the
internal JS API.
Task-number: QTBUG-38809
Change-Id: I76eccbbd6cb1b9fd3322596bb7d6a3f9b0e694b8
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/assembler/ARMAssembler.cpp')
0 files changed, 0 insertions, 0 deletions