Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 2838e8da1cf5e4a666dfeb6dbaa1a726ed59aa06..16519271659aba77bcdb6b0ec0b74cc659797715 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -184,6 +184,10 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
if (command_line.HasSwitch(switches::kEnableViewport)) |
WebRuntimeFeatures::enableCSSViewport(true); |
+ |
+ if (command_line.HasSwitch(switches::kDisableSVG1DOM)) { |
+ WebRuntimeFeatures::enableSVG1DOM(false); |
+ } |
} |
} // namespace content |