diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-09-22 18:03:13 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-09-24 16:02:56 +0200 |
commit | 3df57f7e550a19cb4450ed3896aa51ddb38c2ed2 (patch) | |
tree | b421e1fbfcb214cee83953d68e20748160aa4fa4 /Source/JavaScriptCore/runtime/JSArray.cpp | |
parent | d34ae1d6603354119fb1687a59dc48560e27de82 (diff) | |
download | qtwebkit-3df57f7e550a19cb4450ed3896aa51ddb38c2ed2.tar.gz |
Avoid crashing when QtQuick destroys our SG node and GL context
Keep the layers on the UI process but make sure that the backing
stores are destroyed both on the UI and Web processes.
Add a check for m_isPurging in CoordinatedGraphicsLayer::removeTile
to make sure that we don't tell the UI process to remove tiles that
it purged itself, in a similar way to what we do in
CompositingCoordinator::removeUpdateAtlas.
Also make sure that we wait for the next m_isWaitingForRenderer
after we've purged the backing stores in CoordinatedLayerTreeHost
to wait for a QtWebPageSGNode to be available like we do right after
a page's construction and avoid sending update that would be
ignored by an unactive CoordinatedGraphicsScene.
Task-number: QTBUG-40734
Change-Id: I059f1de2ce2a8d9d70ab2cd8c3252a469ebf036e
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSArray.cpp')
0 files changed, 0 insertions, 0 deletions