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

Unified Diff: mojo/services/gles2/command_buffer_type_conversions.h

Issue 209453003: Add support for mojo::TypeConverter to control how convenient conversion should be. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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: mojo/services/gles2/command_buffer_type_conversions.h
diff --git a/mojo/services/gles2/command_buffer_type_conversions.h b/mojo/services/gles2/command_buffer_type_conversions.h
index 1d1576a122a7af8c51fe767e07433163df631d96..b2c471cdaa5c754e90bd8183c5909ac33ffffe87 100644
--- a/mojo/services/gles2/command_buffer_type_conversions.h
+++ b/mojo/services/gles2/command_buffer_type_conversions.h
@@ -19,6 +19,8 @@ class TypeConverter<CommandBufferState, gpu::CommandBuffer::State> {
static CommandBufferState ConvertFrom(const gpu::CommandBuffer::State& input,
Buffer* buffer);
static gpu::CommandBuffer::State ConvertTo(const CommandBufferState& input);
+
+ MOJO_ALLOW_IMPLICIT_TYPE_CONVERSION();
};
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698