| Index: content/child/runtime_features.cc
|
| diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
|
| index b29d7cd925dcc1ef12286a36c3bca7c571724ce1..7748255261ef09d604244a044c1ce2211657bd0a 100644
|
| --- a/content/child/runtime_features.cc
|
| +++ b/content/child/runtime_features.cc
|
| @@ -85,6 +85,12 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
|
| WebRuntimeFeatures::enablePushMessaging(false);
|
| }
|
|
|
| + // For the time being, enable wasm serialization when wasm is enabled,
|
| + // since the whole wasm space is experimental. We have the flexibility
|
| + // to decouple the two.
|
| + if (command_line.HasSwitch(switches::kEnableWasm))
|
| + WebRuntimeFeatures::enableWebAssemblySerialization(true);
|
| +
|
| if (command_line.HasSwitch(switches::kDisableSharedWorkers))
|
| WebRuntimeFeatures::enableSharedWorker(false);
|
|
|
|
|