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

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

Issue 2444813002: Remove unsafe mode to enable es3 api by default for WebGL2 and ES3 context (Closed)
Patch Set: fix a bug 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/tests/fuzzer_main.cc
diff --git a/gpu/command_buffer/tests/fuzzer_main.cc b/gpu/command_buffer/tests/fuzzer_main.cc
index 3d0f2a8b135cdf39d603cd540bfd0f739f946680..7ab7ba71f386062ac187d6462383c12c95f0cc81 100644
--- a/gpu/command_buffer/tests/fuzzer_main.cc
+++ b/gpu/command_buffer/tests/fuzzer_main.cc
@@ -92,9 +92,6 @@ class CommandBufferSetup {
command_buffer_id_(CommandBufferId::FromUnsafeValue(1)) {
logging::SetMinLogLevel(logging::LOG_FATAL);
base::CommandLine::Init(0, NULL);
- base::CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kEnableUnsafeES3APIs);
- gpu_preferences_.enable_unsafe_es3_apis = true;
gl::GLSurfaceTestSupport::InitializeOneOffWithMockBindings();

Powered by Google App Engine
This is Rietveld 408576698