| Index: cc/layer_tree_host_unittest_context.cc
|
| diff --git a/cc/layer_tree_host_unittest_context.cc b/cc/layer_tree_host_unittest_context.cc
|
| index cf9da18e157841235735795b9c6e071adb73c733..fe9416597b257d3e73e6a5deea665034d092f0db 100644
|
| --- a/cc/layer_tree_host_unittest_context.cc
|
| +++ b/cc/layer_tree_host_unittest_context.cc
|
| @@ -30,6 +30,7 @@
|
| #include "cc/texture_layer.h"
|
| #include "cc/video_layer.h"
|
| #include "cc/video_layer_impl.h"
|
| +#include "gpu/GLES2/gl2extchromium.h"
|
| #include "media/base/media.h"
|
|
|
| using media::VideoFrame;
|
| @@ -53,7 +54,8 @@ class LayerTreeHostContextTest : public ThreadedTest {
|
| }
|
|
|
| void LoseContext() {
|
| - context3d_->loseContextCHROMIUM();
|
| + context3d_->loseContextCHROMIUM(GL_GUILTY_CONTEXT_RESET_ARB,
|
| + GL_INNOCENT_CONTEXT_RESET_ARB);
|
| context3d_ = NULL;
|
| }
|
|
|
| @@ -803,7 +805,8 @@ class LayerTreeHostContextTestFailsImmediately :
|
| virtual scoped_ptr<FakeWebGraphicsContext3D> CreateContext3d() OVERRIDE {
|
| scoped_ptr<FakeWebGraphicsContext3D> context =
|
| LayerTreeHostContextTest::CreateContext3d();
|
| - context->loseContextCHROMIUM();
|
| + context->loseContextCHROMIUM(GL_GUILTY_CONTEXT_RESET_ARB,
|
| + GL_INNOCENT_CONTEXT_RESET_ARB);
|
| return context.Pass();
|
| }
|
|
|
|
|