Index: media/gpu/gpu_video_decode_accelerator_factory_impl.h |
diff --git a/media/gpu/gpu_video_decode_accelerator_factory_impl.h b/media/gpu/gpu_video_decode_accelerator_factory_impl.h |
index a005a1cc6602db89b11716a39334511d0d93ed2a..db383062a2933f66d48c429429367a968421b1e3 100644 |
--- a/media/gpu/gpu_video_decode_accelerator_factory_impl.h |
+++ b/media/gpu/gpu_video_decode_accelerator_factory_impl.h |
@@ -14,11 +14,8 @@ |
#include "media/gpu/media_gpu_export.h" |
#include "media/video/video_decode_accelerator.h" |
-namespace gfx { |
-class GLContext; |
-} |
- |
namespace gl { |
+class GLContext; |
class GLImage; |
} |
@@ -40,7 +37,7 @@ class MEDIA_GPU_EXPORT GpuVideoDecodeAcceleratorFactoryImpl { |
~GpuVideoDecodeAcceleratorFactoryImpl(); |
// Return current GLContext. |
- using GetGLContextCallback = base::Callback<gfx::GLContext*(void)>; |
+ using GetGLContextCallback = base::Callback<gl::GLContext*(void)>; |
// Make the applicable GL context current. To be called by VDAs before |
// executing any GL calls. Return true on success, false otherwise. |