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

Unified Diff: ui/gl/gpu_switching_manager.cc

Issue 1917973002: mac: Remove IsOSLion(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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
Index: ui/gl/gpu_switching_manager.cc
diff --git a/ui/gl/gpu_switching_manager.cc b/ui/gl/gpu_switching_manager.cc
index 0f87470c58d793285aee72654786a08c88d11761..c156953476ce4c00b2c588f621fe1794f41b420e 100644
--- a/ui/gl/gpu_switching_manager.cc
+++ b/ui/gl/gpu_switching_manager.cc
@@ -97,9 +97,6 @@ bool GpuSwitchingManager::SupportsDualGpus() {
gfx::kGLImplementationDesktopName)
flag = false;
- if (flag && !base::mac::IsOSLionOrLater())
- flag = false;
-
if (flag) {
// Only advertise that we have two GPUs to the rest of
// Chrome's code if we find an Intel GPU and some other

Powered by Google App Engine
This is Rietveld 408576698