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

Unified Diff: base/win/windows_version.cc

Issue 2781833003: Only use overlays on windows 10 anniversary update and later. (Closed)
Patch Set: rebase Created 3 years, 9 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/browser/gpu/gpu_data_manager_impl_private.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 4b7f8baaca977af1495e7255b3a904cb94f3a135..d192ab90ff7ef9f638ad483264f28001b989adfa 100644
--- a/base/win/windows_version.cc
+++ b/base/win/windows_version.cc
@@ -50,8 +50,10 @@ Version MajorMinorBuildToVersion(int major, int minor, int build) {
} else if (major == 10) {
if (build < 10586) {
return VERSION_WIN10;
- } else {
+ } else if (build < 14393) {
return VERSION_WIN10_TH2;
+ } else {
+ return VERSION_WIN10_R1;
}
} else if (major > 6) {
NOTREACHED();
« no previous file with comments | « base/win/windows_version.h ('k') | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698