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

Unified Diff: gpu/command_buffer/service/renderbuffer_manager_unittest.cc

Issue 2291753002: Prevent crash when using getExtension while a PBO is bound. (Closed)
Patch Set: small corrections Created 4 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
« no previous file with comments | « gpu/command_buffer/service/program_manager_unittest.cc ('k') | gpu/command_buffer/service/test_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/renderbuffer_manager_unittest.cc
diff --git a/gpu/command_buffer/service/renderbuffer_manager_unittest.cc b/gpu/command_buffer/service/renderbuffer_manager_unittest.cc
index a0271836d7665bf874a88629bda1bde04bd6cd36..f1c45ae2baacd0fb8b0fabdfe9bb385e79a65554 100644
--- a/gpu/command_buffer/service/renderbuffer_manager_unittest.cc
+++ b/gpu/command_buffer/service/renderbuffer_manager_unittest.cc
@@ -36,7 +36,8 @@ class RenderbufferManagerTestBase : public GpuServiceTest {
gl_.get(),
depth24_supported ? "GL_OES_depth24" : "",
"",
- use_gles ? "OpenGL ES 2.0" : "2.1");
+ use_gles ? "OpenGL ES 2.0" : "2.1",
+ feature_info_->context_type());
feature_info_->InitializeForTesting();
manager_.reset(new RenderbufferManager(
memory_tracker, kMaxSize, kMaxSamples, feature_info_.get()));
« no previous file with comments | « gpu/command_buffer/service/program_manager_unittest.cc ('k') | gpu/command_buffer/service/test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698