diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-01-30 17:01:04 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-31 21:21:42 +0100 |
commit | f314bb46c5b144be4559ac13f055062d5e3027b3 (patch) | |
tree | 975fbd34c77e27ddc3aa49ecd31f41414328df38 /Source/JavaScriptCore/API/JSValueRef.cpp | |
parent | db006e7811c4cdc8eada301a2a986a8abbc5d13f (diff) | |
download | qtwebkit-f314bb46c5b144be4559ac13f055062d5e3027b3.tar.gz |
Fix assert in m_stack.isEmpty() in GraphicsContext::~GraphicsContext()
Save and restore is not balanced in GraphicsContext. This causes
the log error "ERROR void GraphicsContext::restore() stack is empty"
and assert in the GraphicsContext destructor.
The cause is a mismatch of GraphicsContexts being saved and restored by
TextureMapperImageBuffer beginClip and endClip. This patch fixes endClip
to restore the currentContext beginClip saved.
Change-Id: Ief0100dd26c7eded04734167e86712a81f1a7674
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/API/JSValueRef.cpp')
0 files changed, 0 insertions, 0 deletions