Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: content/browser/gpu/gpu_ipc_browsertests.cc

Issue 470973002: gpu: Remove WebGraphicsContext3D::makeContextCurrent() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix in unittests Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698