Index: media/gpu/vaapi_video_decode_accelerator.cc |
diff --git a/media/gpu/vaapi_video_decode_accelerator.cc b/media/gpu/vaapi_video_decode_accelerator.cc |
index fa4fdde85c1079e3b3077672b64e2f184eff45c8..95044d4c624dca718d1fffcb4b033f0abcbe9ff4 100644 |
--- a/media/gpu/vaapi_video_decode_accelerator.cc |
+++ b/media/gpu/vaapi_video_decode_accelerator.cc |
@@ -345,13 +345,13 @@ bool VaapiVideoDecodeAccelerator::Initialize(const Config& config, |
DVLOG(2) << "Initializing VAVDA, profile: " << profile; |
#if defined(USE_X11) |
- if (gfx::GetGLImplementation() != gfx::kGLImplementationDesktopGL) { |
+ if (gl::GetGLImplementation() != gl::kGLImplementationDesktopGL) { |
DVLOG(1) << "HW video decode acceleration not available without " |
"DesktopGL (GLX)."; |
return false; |
} |
#elif defined(USE_OZONE) |
- if (gfx::GetGLImplementation() != gfx::kGLImplementationEGLGLES2) { |
+ if (gl::GetGLImplementation() != gl::kGLImplementationEGLGLES2) { |
DVLOG(1) << "HW video decode acceleration not available without " |
<< "EGLGLES2."; |
return false; |