Index: content/common/gpu/client/gpu_in_process_context_tests.cc |
=================================================================== |
--- content/common/gpu/client/gpu_in_process_context_tests.cc (revision 261814) |
+++ content/common/gpu/client/gpu_in_process_context_tests.cc (working copy) |
@@ -20,8 +20,10 @@ |
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(); |
} |