Chromium Code Reviews

Unified Diff: content/common/gpu/client/gpu_in_process_context_tests.cc

Issue 470973002: gpu: Remove WebGraphicsContext3D::makeContextCurrent() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove WebGraphicsContext3D::makeContextCurrent() Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: content/common/gpu/client/gpu_in_process_context_tests.cc
diff --git a/content/common/gpu/client/gpu_in_process_context_tests.cc b/content/common/gpu/client/gpu_in_process_context_tests.cc
index 828823734974b7e9157e6d3f91e144e09cd9c802..f1f97c7713df73f72e1816fe63106752efa134e0 100644
--- a/content/common/gpu/client/gpu_in_process_context_tests.cc
+++ b/content/common/gpu/client/gpu_in_process_context_tests.cc
@@ -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_->BindToCurrentThread();
context_support_ = context_->GetContextSupport();
}

Powered by Google App Engine