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

Unified Diff: content/browser/gpu/gpu_data_manager_impl_private.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.cc ('k') | gpu/ipc/service/direct_composition_surface_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_data_manager_impl_private.cc
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc
index 9dfd5469de31f54f8de5391493639f56251a51af..93efce0c868e6fd643b50e1bfad7fc87b9cc0b82 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -74,6 +74,7 @@ enum WinSubVersion {
kWin8_1,
kWin10,
kWin10_TH2,
+ kWin10_R1,
kNumWinSubVersions
};
@@ -103,6 +104,9 @@ int GetGpuBlacklistHistogramValueWin(gpu::GpuFeatureStatus status) {
case base::win::VERSION_WIN10_TH2:
sub_version = kWin10_TH2;
break;
+ case base::win::VERSION_WIN10_R1:
+ sub_version = kWin10_R1;
+ break;
}
}
int entry_index = static_cast<int>(sub_version) * gpu::kGpuFeatureStatusMax;
« no previous file with comments | « base/win/windows_version.cc ('k') | gpu/ipc/service/direct_composition_surface_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698