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

Unified Diff: chrome/browser/about_flags.cc

Issue 2400823002: [asm.js] [wasm] Move asm->wasm + WebAssembly switches to features. (Closed)
Patch Set: fix 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 40983ad3533f595caebcc312ebaf11080f888dac..22cc454d176c23a07b589088564ed19b64640206 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -792,10 +792,10 @@ const FeatureEntry kFeatureEntries[] = {
SINGLE_VALUE_TYPE(switches::kJavaScriptHarmony)},
{"enable-asm-webassembly", IDS_FLAGS_ENABLE_ASM_WASM_NAME,
IDS_FLAGS_ENABLE_ASM_WASM_DESCRIPTION, kOsAll,
- SINGLE_VALUE_TYPE(switches::kEnableAsmWasm)},
+ FEATURE_VALUE_TYPE(features::kAsmJsToWebAssembly)},
{"enable-webassembly", IDS_FLAGS_ENABLE_WASM_NAME,
IDS_FLAGS_ENABLE_WASM_DESCRIPTION, kOsAll,
- SINGLE_VALUE_TYPE(switches::kEnableWasm)},
+ FEATURE_VALUE_TYPE(features::kWebAssembly)},
{"enable-ignition", IDS_FLAGS_V8_IGNITION_NAME,
IDS_FLAGS_V8_IGNITION_DESCRIPTION, kOsAll,
FEATURE_VALUE_TYPE(features::kV8Ignition)},
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698