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

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_template_definition.tmpl

Issue 2686763002: [Mojo Video Capture] Split OnIncomingCapturedVideoFrame() to OnNewBuffer() and OnFrameReadyInBuffer( (Closed)
Patch Set: rebase Created 3 years, 10 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/public/tools/bindings/generators/cpp_templates/wrapper_union_class_template_definition.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_template_definition.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_template_definition.tmpl
index d3371d9fd1026510344ae2e76a0d60f67d494f84..4c4851fa83589eb97defe9d2d8abfb41c4ce40dd 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_template_definition.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_template_definition.tmpl
@@ -8,9 +8,9 @@ template <typename UnionPtrType>
case Tag::{{field.name|upper}}:
{%- if field.kind|is_object_kind or
field.kind|is_any_handle_or_interface_kind %}
- rv->set_{{field.name}}(mojo::internal::Clone(*data_.{{field.name}}));
+ rv->set_{{field.name}}(mojo::Clone(*data_.{{field.name}}));
{%- else %}
- rv->set_{{field.name}}(mojo::internal::Clone(data_.{{field.name}}));
+ rv->set_{{field.name}}(mojo::Clone(data_.{{field.name}}));
{%- endif %}
break;
{%- endfor %}

Powered by Google App Engine
This is Rietveld 408576698