diff --git ui/gl/init/gl_initializer_mac.cc ui/gl/init/gl_initializer_mac.cc index e7bf81292b0f4..e700608f9b9d7 100644 --- ui/gl/init/gl_initializer_mac.cc +++ ui/gl/init/gl_initializer_mac.cc @@ -47,11 +47,8 @@ bool InitializeOneOffForSandbox() { // GPU-related stuff is very slow without this, probably because // the sandbox prevents loading graphics drivers or some such. std::vector attribs; - if (GLContext::SwitchableGPUsSupported()) { - // Avoid switching to the discrete GPU just for this pixel - // format selection. - attribs.push_back(kCGLPFAAllowOfflineRenderers); - } + // Avoid switching to the discrete GPU just for this pixel format selection. + attribs.push_back(kCGLPFAAllowOfflineRenderers); attribs.push_back(static_cast(0)); CGLPixelFormatObj format;