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

Unified Diff: ui/gl/gl_context_mac.mm

Issue 10959061: Revert 158076 - Implement blacklist's force GPU capability in dual GPU machines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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/gl/gl_context_cgl.cc ('k') | ui/gl/gl_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_mac.mm
===================================================================
--- ui/gl/gl_context_mac.mm (revision 158210)
+++ ui/gl/gl_context_mac.mm (working copy)
@@ -16,7 +16,6 @@
#include "ui/gl/gl_implementation.h"
#include "ui/gl/gl_surface.h"
#include "ui/gl/gl_switches.h"
-#include "ui/gl/gpu_switching_manager.h"
#if defined(USE_AURA)
#include "ui/gl/gl_context_nsview.h"
@@ -157,7 +156,7 @@
!CommandLine::ForCurrentProcess()->HasSwitch(switches::kGpuSwitching);
if (forcibly_disable) {
- GpuSwitchingManager::GetInstance()->ForceUseOfDiscreteGpu();
+ GLContextCGL::ForceUseOfDiscreteGPU();
return false;
}
« no previous file with comments | « ui/gl/gl_context_cgl.cc ('k') | ui/gl/gl_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698