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

Unified Diff: content/renderer/render_process_impl.cc

Issue 2200403002: [asm.js] [wasm] Adds a UI flag for enabling the Wasm backend for Asm.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: content/renderer/render_process_impl.cc
diff --git a/content/renderer/render_process_impl.cc b/content/renderer/render_process_impl.cc
index 6463fb9b42807dd9bc340495b2d9a0ce767d8039..46a3778116e6b1f7eb4cef3903a3554acf2428f9 100644
--- a/content/renderer/render_process_impl.cc
+++ b/content/renderer/render_process_impl.cc
@@ -86,6 +86,7 @@ RenderProcessImpl::RenderProcessImpl()
SetV8FlagIfHasSwitch(switches::kDisableJavaScriptHarmonyShipping,
"--noharmony-shipping");
SetV8FlagIfHasSwitch(switches::kJavaScriptHarmony, "--harmony");
+ SetV8FlagIfHasSwitch(switches::kEnableAsmWasm, "--expose-wasm");
bradnelson 2016/08/02 23:46:06 The flag is actually --validate-asm
John 2016/08/03 14:12:15 unrelated to this CL, but the asm-wasm tests don't
SetV8FlagIfHasSwitch(switches::kEnableWasm, "--expose-wasm");
const base::CommandLine& command_line =

Powered by Google App Engine
This is Rietveld 408576698