Index: content/common/sandbox_mac.mm |
diff --git a/content/common/sandbox_mac.mm b/content/common/sandbox_mac.mm |
index 73fee33267ecf9791d2c66fab799dadf60cf4de0..ab87ff4a0ce2986a452017e09890d99f3b30c593 100644 |
--- a/content/common/sandbox_mac.mm |
+++ b/content/common/sandbox_mac.mm |
@@ -39,7 +39,7 @@ |
#include "sandbox/mac/seatbelt.h" |
#include "third_party/icu/source/common/unicode/uchar.h" |
#include "ui/base/layout.h" |
-#include "ui/gl/gl_surface.h" |
+#include "ui/gl/init/gl_factory.h" |
extern "C" { |
void CGSSetDenyWindowServerConnections(bool); |
@@ -329,7 +329,7 @@ void Sandbox::SandboxWarmup(int sandbox_type) { |
if (sandbox_type == SANDBOX_TYPE_GPU) { |
// Preload either the desktop GL or the osmesa so, depending on the |
// --use-gl flag. |
- gfx::GLSurface::InitializeOneOff(); |
+ gl::init::InitializeGLOneOff(); |
// Preload VideoToolbox. |
media::InitializeVideoToolbox(); |