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

Unified Diff: gpu/command_buffer/tests/gl_program_unittest.cc

Issue 1325433003: command_buffer: Add support for creating non-WebGL ES 3 contexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 5 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: gpu/command_buffer/tests/gl_program_unittest.cc
diff --git a/gpu/command_buffer/tests/gl_program_unittest.cc b/gpu/command_buffer/tests/gl_program_unittest.cc
index ef11ae4955fbfc814956c03ff1c8167dce24f2b5..cc6a03963818128de1db4ac1c479855820a0a0f0 100644
--- a/gpu/command_buffer/tests/gl_program_unittest.cc
+++ b/gpu/command_buffer/tests/gl_program_unittest.cc
@@ -21,7 +21,6 @@ class GLProgramTest : public testing::Test {
void SetUp() override { gl_.Initialize(GLManager::Options()); }
void TearDown() override { gl_.Destroy(); }
-
GLManager gl_;
};
@@ -29,7 +28,7 @@ class WebGLProgramTest : public GLProgramTest {
protected:
void SetUp() override {
GLManager::Options options;
- options.webgl_version = 1;
+ options.context_type = GLManager::CONTEXT_TYPE_WEBGL1;
gl_.Initialize(options);
}
};

Powered by Google App Engine
This is Rietveld 408576698