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

Unified Diff: gpu/config/gpu_test_config.cc

Issue 1246203003: Add Windows 10 support to GPU config parser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months 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
« no previous file with comments | « gpu/config/gpu_test_config.h ('k') | gpu/config/gpu_test_expectations_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_test_config.cc
diff --git a/gpu/config/gpu_test_config.cc b/gpu/config/gpu_test_config.cc
index c062c4da73c040fe95b4d1cf88e8ff2e94f43db0..10ed90b0f99a7841a4080be79944b1113bba1d47 100644
--- a/gpu/config/gpu_test_config.cc
+++ b/gpu/config/gpu_test_config.cc
@@ -39,6 +39,8 @@ GPUTestConfig::OS GetCurrentOS() {
return GPUTestConfig::kOsWin7;
if (major_version == 6 && (minor_version == 2 || minor_version == 3))
return GPUTestConfig::kOsWin8;
+ if (major_version == 10)
Will Harris 2015/07/22 01:12:35 this won't catch some early builds of Win10 which
+ return GPUTestConfig::kOsWin10;
#elif defined(OS_MACOSX)
int32 major_version = 0;
int32 minor_version = 0;
@@ -169,6 +171,7 @@ bool GPUTestBotConfig::IsValid() const {
case kOsWinVista:
case kOsWin7:
case kOsWin8:
+ case kOsWin10:
case kOsMacLeopard:
case kOsMacSnowLeopard:
case kOsMacLion:
« no previous file with comments | « gpu/config/gpu_test_config.h ('k') | gpu/config/gpu_test_expectations_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698