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

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

Issue 2444813002: Remove unsafe mode to enable es3 api by default for WebGL2 and ES3 context (Closed)
Patch Set: remove runtime flag unsafeES3APIs from blink webgl module Created 4 years, 2 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/service/gles2_cmd_decoder_unittest_2.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_2.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_2.cc
index 3b10afd9b9a12c2a705cb8278edd4fcacf7b2e90..3ea03a1f7b2fb0185b7d8b957f27b707ae080be6 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_2.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_2.cc
@@ -43,7 +43,7 @@ class GLES2DecoderTest2 : public GLES2DecoderTestBase {
void TestAcceptedUniform(GLenum uniform_type,
uint32_t accepts_apis,
bool es3_enabled) {
- decoder_->set_unsafe_es3_apis_enabled(es3_enabled);
+ decoder_->set_es3_apis_enabled(es3_enabled);
SetupShaderForUniform(uniform_type);
bool valid_uniform = false;

Powered by Google App Engine
This is Rietveld 408576698