Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / content / common / gpu / client / gl_helper_benchmark.cc
index 06b4206..b55ae1f 100644 (file)
@@ -62,8 +62,9 @@ class GLHelperTest : public testing::Test {
  protected:
   virtual void SetUp() {
     WebGraphicsContext3D::Attributes attributes;
+    bool lose_context_when_out_of_memory = false;
     context_ = webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl::
-        CreateOffscreenContext(attributes);
+        CreateOffscreenContext(attributes, lose_context_when_out_of_memory);
     context_->makeContextCurrent();
 
     helper_.reset(