Index: content/browser/gpu/gpu_ipc_browsertests.cc |
diff --git a/content/browser/gpu/gpu_ipc_browsertests.cc b/content/browser/gpu/gpu_ipc_browsertests.cc |
index 477ff1d879048e5c6b08c7bb9e0815b538e4f778..eb3c6cebd0b9d20704defcd48d1075f0ebe468d4 100644 |
--- a/content/browser/gpu/gpu_ipc_browsertests.cc |
+++ b/content/browser/gpu/gpu_ipc_browsertests.cc |
@@ -47,7 +47,7 @@ class ContextTestBase : public content::ContentBrowserTest { |
WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits(), |
NULL)); |
CHECK(context_.get()); |
- context_->makeContextCurrent(); |
+ context_->InitializeOnCurrentThread(); |
context_support_ = context_->GetContextSupport(); |
ContentBrowserTest::SetUpOnMainThread(); |
} |