Index: content/common/sandbox_win.cc |
diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc |
index 355305e33c2434c4b0679e92a59859701a0d9143..85aa6816916e126e2b76c1ea8d5ce6f6a49ed8b7 100644 |
--- a/content/common/sandbox_win.cc |
+++ b/content/common/sandbox_win.cc |
@@ -564,7 +564,7 @@ bool ShouldUseDirectWrite() { |
// 2670838, so a Win7 check is sufficient. We do not currently attempt to |
// support Vista, where SP2 and the Platform Update are required. |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
- return command_line.HasSwitch(switches::kEnableDirectWrite) && |
+ return !command_line.HasSwitch(switches::kDisableDirectWrite) && |
base::win::GetVersion() >= base::win::VERSION_WIN7; |
} |