| Index: components/test_runner/test_plugin.cc
|
| diff --git a/components/test_runner/test_plugin.cc b/components/test_runner/test_plugin.cc
|
| index cd76b8334b1695da0c234d1cbb6876ee89eeabca..0810fb49157d7fff51c190044ba2a0a8aa4313af 100644
|
| --- a/components/test_runner/test_plugin.cc
|
| +++ b/components/test_runner/test_plugin.cc
|
| @@ -175,7 +175,7 @@ bool TestPlugin::initialize(blink::WebPluginContainer* container) {
|
| blink::WebGraphicsContext3D::Attributes attrs;
|
| context_ =
|
| blink::Platform::current()->createOffscreenGraphicsContext3D(attrs);
|
| - gl_ = context_->getGLES2Interface();
|
| + gl_ = context_ ? context_->getGLES2Interface() : nullptr;
|
|
|
| if (!InitScene())
|
| return false;
|
|
|