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

Unified Diff: components/mus/gpu/gpu_service_mus.cc

Issue 2008193002: Change mojo geometry structs from using type converters to StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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: components/mus/gpu/gpu_service_mus.cc
diff --git a/components/mus/gpu/gpu_service_mus.cc b/components/mus/gpu/gpu_service_mus.cc
index d9c4b3c1a6d1a7a5fb4b7948d6bffccfee02d581..55ff2f9be2da32595012e454a46d8019881b3b7c 100644
--- a/components/mus/gpu/gpu_service_mus.cc
+++ b/components/mus/gpu/gpu_service_mus.cc
@@ -22,7 +22,7 @@ void GpuServiceMus::EstablishGpuChannel(
void GpuServiceMus::CreateGpuMemoryBuffer(
mojom::GpuMemoryBufferIdPtr id,
- mojo::SizePtr size,
+ const gfx::Size& size,
mojom::BufferFormat format,
mojom::BufferUsage usage,
uint64_t surface_id,
@@ -33,7 +33,7 @@ void GpuServiceMus::CreateGpuMemoryBuffer(
void GpuServiceMus::CreateGpuMemoryBufferFromHandle(
mojom::GpuMemoryBufferHandlePtr buffer_handle,
mojom::GpuMemoryBufferIdPtr id,
- mojo::SizePtr size,
+ const gfx::Size& size,
mojom::BufferFormat format,
const mojom::GpuService::CreateGpuMemoryBufferFromHandleCallback&
callback) {

Powered by Google App Engine
This is Rietveld 408576698