Index: gpu/config/gpu_test_config.cc |
diff --git a/gpu/config/gpu_test_config.cc b/gpu/config/gpu_test_config.cc |
index d99f71dc45ee700bba01b10d5b0e659abebd9cb7..0f2eb773055b051ef41cc2df646796daa19eff66 100644 |
--- a/gpu/config/gpu_test_config.cc |
+++ b/gpu/config/gpu_test_config.cc |
@@ -274,13 +274,18 @@ bool GPUTestBotConfig::CurrentConfigMatches( |
// static |
bool GPUTestBotConfig::GpuBlacklistedOnBot() { |
+#if defined(OS_WIN) |
+ // Blacklist rule #79 disables all Gpu acceleration before Windows 7. |
+ if (base::win::GetVersion() <= base::win::VERSION_VISTA) { |
+ return false; |
+ } |
+#endif |
#if defined(OS_MACOSX) |
Zhenyao Mo
2014/01/08 19:12:11
nit: this should be elif
ccameron
2014/01/08 19:44:14
Done.
|
// Blacklist rule #81 disables all Gpu acceleration on Mac < 10.8 bots. |
if (CurrentConfigMatches("MAC VMWARE") && base::mac::IsOSLionOrEarlier()) { |
return true; |
} |
#endif |
- // TODO(ccameron): This should be true on Windows XP as well. |
return false; |
} |