| Index: content/shell/renderer/test_runner/TestPlugin.cpp
|
| diff --git a/content/shell/renderer/test_runner/TestPlugin.cpp b/content/shell/renderer/test_runner/TestPlugin.cpp
|
| index cb33167043671119c532df2d5330a03fe0bf0136..b7bcfd3b1d5fd2d8031ed565e61261a5072ff171 100644
|
| --- a/content/shell/renderer/test_runner/TestPlugin.cpp
|
| +++ b/content/shell/renderer/test_runner/TestPlugin.cpp
|
| @@ -192,10 +192,6 @@ bool TestPlugin::initialize(WebPluginContainer* container)
|
| {
|
| WebGraphicsContext3D::Attributes attrs;
|
| m_context = Platform::current()->createOffscreenGraphicsContext3D(attrs);
|
| - if (m_context && !m_context->makeContextCurrent()) {
|
| - delete m_context;
|
| - m_context = 0;
|
| - }
|
|
|
| if (!initScene())
|
| return false;
|
|
|