Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 6900959fb5cbab258f04ca453e1453d8c6cdce63..bdc7ab027e1f4692de838fb8d782f886114dcd32 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -130,6 +130,11 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
if (command_line.HasSwitch(switches::kDisableFileSystem)) |
WebRuntimeFeatures::enableFileSystem(false); |
+#if defined(OS_WIN) |
+ if (command_line.HasSwitch(switches::kEnableDirectWrite)) |
+ WebRuntimeFeatures::enableDirectWrite(true); |
+#endif |
+ |
if (command_line.HasSwitch(switches::kEnableExperimentalCanvasFeatures)) |
WebRuntimeFeatures::enableExperimentalCanvasFeatures(true); |