summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/debugger/Debugger.cpp
diff options
context:
space:
mode:
authorZeno Albisser <zeno@webkit.org>2013-04-03 17:17:35 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-05 22:32:23 +0200
commit2acba686f82ba55fca8fa0ea383e6e1f46d34524 (patch)
tree0aee3b290edeb5b9c825fcfbd895aeb706254716 /Source/JavaScriptCore/debugger/Debugger.cpp
parent91020e66481a874f911d145c0a665c16828d7e7b (diff)
downloadqtwebkit-2acba686f82ba55fca8fa0ea383e6e1f46d34524.tar.gz
[Qt] Fail gracefully if an OpenGL context could not be created.
https://bugs.webkit.org/show_bug.cgi?id=113784 In case we fail to create or adopt a valid platform OpenGL context we do not want to provide a GraphicsContext3D instance. Otherwise we would crash as soon as the instance is being used. Reviewed by Jocelyn Turcotte. * platform/graphics/qt/GraphicsContext3DQt.cpp: (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate): (WebCore::GraphicsContext3D::GraphicsContext3D): Change-Id: Idb9e1019b2e51a9952d1ee5be979cb59b1a09acd git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147553 268f45cc-cd09-0410-ab3c-d52691b4dbfc Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/debugger/Debugger.cpp')
0 files changed, 0 insertions, 0 deletions