| Index: content/common/gpu/client/gpu_in_process_context_tests.cc
|
| diff --git a/content/common/gpu/client/gpu_in_process_context_tests.cc b/content/common/gpu/client/gpu_in_process_context_tests.cc
|
| index 7be78905e1fa73cc2c9fa6e7cc89c769e09b893a..828823734974b7e9157e6d3f91e144e09cd9c802 100644
|
| --- a/content/common/gpu/client/gpu_in_process_context_tests.cc
|
| +++ b/content/common/gpu/client/gpu_in_process_context_tests.cc
|
| @@ -20,8 +20,10 @@ class ContextTestBase : public testing::Test {
|
| public:
|
| virtual void SetUp() {
|
| blink::WebGraphicsContext3D::Attributes attributes;
|
| - context_ = WebGraphicsContext3DInProcessCommandBufferImpl::
|
| - CreateOffscreenContext(attributes);
|
| + bool lose_context_when_out_of_memory = false;
|
| + typedef WebGraphicsContext3DInProcessCommandBufferImpl WGC3DIPCBI;
|
| + context_ = WGC3DIPCBI::CreateOffscreenContext(
|
| + attributes, lose_context_when_out_of_memory);
|
| context_->makeContextCurrent();
|
| context_support_ = context_->GetContextSupport();
|
| }
|
|
|