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

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

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.h
diff --git a/components/mus/gpu/gpu_service_mus.h b/components/mus/gpu/gpu_service_mus.h
index a8d5696ea3c4065ef1a5596e3a45acf106f7e319..0dcd4efb4366f91a556b8a01b11ec0a1106a624a 100644
--- a/components/mus/gpu/gpu_service_mus.h
+++ b/components/mus/gpu/gpu_service_mus.h
@@ -30,7 +30,7 @@ class GpuServiceMus : public mojom::GpuService,
void CreateGpuMemoryBuffer(
mojom::GpuMemoryBufferIdPtr id,
- mojo::SizePtr size,
+ const gfx::Size& size,
mojom::BufferFormat format,
mojom::BufferUsage usage,
uint64_t surface_id,
@@ -40,7 +40,7 @@ class GpuServiceMus : public mojom::GpuService,
void CreateGpuMemoryBufferFromHandle(
mojom::GpuMemoryBufferHandlePtr buffer_handle,
mojom::GpuMemoryBufferIdPtr id,
- mojo::SizePtr size,
+ const gfx::Size& size,
mojom::BufferFormat format,
const mojom::GpuService::CreateGpuMemoryBufferFromHandleCallback&
callback) override;

Powered by Google App Engine
This is Rietveld 408576698