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

Unified Diff: base/win/windows_version.cc

Issue 1626623003: [Win10 sandbox mitigations] Four new Win10 mitigations added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review changes, part 5. "Fix the nit." Created 4 years, 11 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 | « base/win/windows_version.h ('k') | content/common/sandbox_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/windows_version.cc
diff --git a/base/win/windows_version.cc b/base/win/windows_version.cc
index 35cdbb3538ad61fb01c9b3cd672b204315175e03..7a8b8fdbdbaad6958759cdf603858d2387606bc5 100644
--- a/base/win/windows_version.cc
+++ b/base/win/windows_version.cc
@@ -65,7 +65,11 @@ OSInfo::OSInfo()
break;
}
} else if (version_number_.major == 10) {
- version_ = VERSION_WIN10;
+ if (version_number_.build < 10586) {
+ version_ = VERSION_WIN10;
+ } else {
+ version_ = VERSION_WIN10_TH2;
+ }
} else if (version_number_.major > 6) {
NOTREACHED();
version_ = VERSION_WIN_LAST;
« no previous file with comments | « base/win/windows_version.h ('k') | content/common/sandbox_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698