Index: components/mus/gles2/gpu_state.cc |
diff --git a/components/mus/gles2/gpu_state.cc b/components/mus/gles2/gpu_state.cc |
index 3733ff8fe2d5a05b3df7daa344ab715dd383a049..1ff542d1d5cee1dd52addc9218df9220cb526eb6 100644 |
--- a/components/mus/gles2/gpu_state.cc |
+++ b/components/mus/gles2/gpu_state.cc |
@@ -10,7 +10,7 @@ |
#include "base/threading/thread_restrictions.h" |
#include "gpu/config/gpu_info_collector.h" |
#include "ui/gl/gl_implementation.h" |
-#include "ui/gl/gl_surface.h" |
+#include "ui/gl/init/gl_factory.h" |
#if defined(USE_OZONE) |
#include "ui/ozone/public/ozone_platform.h" |
@@ -48,7 +48,7 @@ void GpuState::InitializeOnGpuThread(base::WaitableEvent* event) { |
#if defined(USE_OZONE) |
ui::OzonePlatform::InitializeForGPU(); |
#endif |
- hardware_rendering_available_ = gfx::GLSurface::InitializeOneOff(); |
+ hardware_rendering_available_ = gl::init::InitializeGLOneOff(); |
command_buffer_task_runner_ = new CommandBufferTaskRunner; |
driver_manager_.reset(new CommandBufferDriverManager); |
sync_point_manager_.reset(new gpu::SyncPointManager(true)); |