Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Unified Diff: services/ui/gles2/gpu_impl.cc

Issue 2133833002: gpu::GPUInfo::GPUDevice struct traits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary changes Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698