Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / content / common / gpu / client / gl_helper_unittest.cc
index 028777b..38b45ce 100644 (file)
@@ -60,9 +60,10 @@ class GLHelperTest : public testing::Test {
  protected:
   virtual void SetUp() {
     WebGraphicsContext3D::Attributes attributes;
+    bool lose_context_when_out_of_memory = false;
     context_ =
         WebGraphicsContext3DInProcessCommandBufferImpl::CreateOffscreenContext(
-            attributes);
+            attributes, lose_context_when_out_of_memory);
     context_->makeContextCurrent();
     context_support_ = context_->GetContextSupport();
     helper_.reset(