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

Unified Diff: gpu/config/gpu_info_collector_unittest.cc

Issue 98643013: Take GL version and extensions correctly into account when binding functions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Clarify code in generate_bindings.py according to feedback Created 6 years, 11 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: gpu/config/gpu_info_collector_unittest.cc
diff --git a/gpu/config/gpu_info_collector_unittest.cc b/gpu/config/gpu_info_collector_unittest.cc
index 5e61ee27e12d9e8a2f29893feaf8603ad0762520..1c0dfbb783854b2be26cb95bd45cfd44dfb21423 100644
--- a/gpu/config/gpu_info_collector_unittest.cc
+++ b/gpu/config/gpu_info_collector_unittest.cc
@@ -24,7 +24,7 @@ class GPUInfoCollectorTest : public testing::Test {
// TODO(kbr): make this setup robust in the case where
// GLSurface::InitializeOneOff() has already been called by
// another unit test. http://crbug.com/100285
- gfx::InitializeGLBindings(gfx::kGLImplementationMockGL);
+ gfx::InitializeStaticGLBindings(gfx::kGLImplementationMockGL);
gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>());
::gfx::GLInterface::SetGLInterface(gl_.get());
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698