Index: services/ui/gles2/gpu_impl.cc |
diff --git a/services/ui/gles2/gpu_impl.cc b/services/ui/gles2/gpu_impl.cc |
index 5da5d81106df61c38ba75434d811ed5d3bc83513..dd58a034e39eb3ea7d1ad42037f23e0e9e4e305d 100644 |
--- a/services/ui/gles2/gpu_impl.cc |
+++ b/services/ui/gles2/gpu_impl.cc |
@@ -7,6 +7,10 @@ |
#include "services/ui/common/gpu_type_converters.h" |
#include "services/ui/gles2/command_buffer_impl.h" |
+namespace gpu { |
+struct GPUInfo; |
+} |
+ |
namespace ui { |
GpuImpl::GpuImpl(mojo::InterfaceRequest<Gpu> request, |
@@ -21,7 +25,8 @@ void GpuImpl::CreateOffscreenGLES2Context( |
} |
void GpuImpl::GetGpuInfo(const GetGpuInfoCallback& callback) { |
- callback.Run(mojom::GpuInfo::From<gpu::GPUInfo>(state_->gpu_info())); |
+ // callback.Run(mojom::GpuInfo::From<gpu::GPUInfo>(state_->gpu_info())); |
+ callback.Run(state_->gpu_info()); |
} |
} // namespace ui |