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

Unified Diff: content/child/runtime_features.cc

Issue 66333016: Add DirectWrite flag and plumb it through to Blink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 28eb9f3b83b45d18f56f5658dc4436a301a0edb1..642d82f175dfdc0ef725c94201aa746d1e4a9639 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -131,6 +131,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
if (command_line.HasSwitch(switches::kDisableFileSystem))
WebRuntimeFeatures::enableFileSystem(false);
+ if (command_line.HasSwitch(switches::kEnableDirectWrite))
Avi (use Gerrit) 2013/11/16 06:26:51 Can you #if defined(OS_WIN)?
+ WebRuntimeFeatures::enableDirectWrite(true);
+
if (command_line.HasSwitch(switches::kEnableExperimentalCanvasFeatures))
WebRuntimeFeatures::enableExperimentalCanvasFeatures(true);

Powered by Google App Engine
This is Rietveld 408576698