| Index: cc/test/test_web_graphics_context_3d.cc
|
| diff --git a/cc/test/test_web_graphics_context_3d.cc b/cc/test/test_web_graphics_context_3d.cc
|
| index c1ac0e753172832e0718abccee539a5c59080c13..b4a2c7ec447aba7b4ea26914294e0358ba8d7f45 100644
|
| --- a/cc/test/test_web_graphics_context_3d.cc
|
| +++ b/cc/test/test_web_graphics_context_3d.cc
|
| @@ -302,6 +302,10 @@ void TestWebGraphicsContext3D::loseContextCHROMIUM(WGC3Denum current,
|
| context_lost_ = true;
|
| if (context_lost_callback_)
|
| context_lost_callback_->onContextLost();
|
| +
|
| + for (size_t i = 0; i < shared_contexts_.size(); ++i)
|
| + shared_contexts_[i]->loseContextCHROMIUM(current, other);
|
| + shared_contexts_.clear();
|
| }
|
|
|
| WebKit::WebGLId TestWebGraphicsContext3D::NextTextureId() {
|
|
|