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

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: tapted 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
« no previous file with comments | « ui/gfx/mac/nswindow_frame_controls.mm ('k') | ui/views/cocoa/bridged_native_widget_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..758ed91c7c210f7b7e5021a2052b176d7d5b8436 100644
--- a/ui/gl/gpu_switching_manager.cc
+++ b/ui/gl/gpu_switching_manager.cc
@@ -11,7 +11,6 @@
#if defined(OS_MACOSX)
#include <OpenGL/OpenGL.h>
-#include "base/mac/mac_util.h"
#include "ui/gl/gl_context_cgl.h"
#endif // OS_MACOSX
@@ -97,9 +96,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
« no previous file with comments | « ui/gfx/mac/nswindow_frame_controls.mm ('k') | ui/views/cocoa/bridged_native_widget_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698