Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / content / common / gpu / client / gpu_in_process_context_tests.cc
index 8288237..4b7f914 100644 (file)
@@ -24,7 +24,7 @@ class ContextTestBase : public testing::Test {
     typedef WebGraphicsContext3DInProcessCommandBufferImpl WGC3DIPCBI;
     context_ = WGC3DIPCBI::CreateOffscreenContext(
         attributes, lose_context_when_out_of_memory);
-    context_->makeContextCurrent();
+    context_->InitializeOnCurrentThread();
     context_support_ = context_->GetContextSupport();
   }