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

Unified Diff: components/mus/gles2/command_buffer_impl.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/gles2/command_buffer_impl.h
diff --git a/components/mus/gles2/command_buffer_impl.h b/components/mus/gles2/command_buffer_impl.h
index 69f3a2035b1128d4971e6d9a8ccc0f1517f4e202..0d814f07450e0289a3ce20cd6addefd3344b5c26 100644
--- a/components/mus/gles2/command_buffer_impl.h
+++ b/components/mus/gles2/command_buffer_impl.h
@@ -59,7 +59,7 @@ class CommandBufferImpl : public mojom::CommandBuffer,
void CreateImage(int32_t id,
mojo::ScopedHandle memory_handle,
int32_t type,
- mojo::SizePtr size,
+ const gfx::Size& size,
int32_t format,
int32_t internal_format) override;
void DestroyImage(int32_t id) override;
@@ -101,7 +101,7 @@ class CommandBufferImpl : public mojom::CommandBuffer,
bool CreateImageOnGpuThread(int32_t id,
mojo::ScopedHandle memory_handle,
int32_t type,
- mojo::SizePtr size,
+ const gfx::Size& size,
int32_t format,
int32_t internal_format);
bool DestroyImageOnGpuThread(int32_t id);

Powered by Google App Engine
This is Rietveld 408576698