• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git ui/gl/init/gl_initializer_mac.cc ui/gl/init/gl_initializer_mac.cc
2index 98f3c5a43da3b..55bef97cfc336 100644
3--- ui/gl/init/gl_initializer_mac.cc
4+++ ui/gl/init/gl_initializer_mac.cc
5@@ -46,11 +46,8 @@ bool InitializeOneOffForSandbox() {
6   // GPU-related stuff is very slow without this, probably because
7   // the sandbox prevents loading graphics drivers or some such.
8   std::vector<CGLPixelFormatAttribute> attribs;
9-  if (GLContext::SwitchableGPUsSupported()) {
10-    // Avoid switching to the discrete GPU just for this pixel
11-    // format selection.
12-    attribs.push_back(kCGLPFAAllowOfflineRenderers);
13-  }
14+  // Avoid switching to the discrete GPU just for this pixel format selection.
15+  attribs.push_back(kCGLPFAAllowOfflineRenderers);
16   if (GetGLImplementation() == kGLImplementationAppleGL) {
17     attribs.push_back(kCGLPFARendererID);
18     attribs.push_back(
19