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

Unified Diff: mojo/public/cpp/bindings/tests/test_native_types_blink.typemap

Issue 2012693002: Generate a templated Clone method for all mojo structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: mojo/public/cpp/bindings/tests/test_native_types_blink.typemap
diff --git a/mojo/public/cpp/bindings/tests/test_native_types_blink.typemap b/mojo/public/cpp/bindings/tests/test_native_types_blink.typemap
index 34d289a12957a37202cd6f24729a9610aeb5f4a4..32fca1b0710a12d639c609de17f976aa98ea7415 100644
--- a/mojo/public/cpp/bindings/tests/test_native_types_blink.typemap
+++ b/mojo/public/cpp/bindings/tests/test_native_types_blink.typemap
@@ -8,4 +8,5 @@ sources = [
"//mojo/public/cpp/bindings/tests/pickled_struct_blink.cc",
]
-type_mappings = [ "mojo.test.PickledStruct=mojo::test::PickledStructBlink" ]
+type_mappings =
+ [ "mojo.test.PickledStruct=mojo::test::PickledStructBlink(pass_by_value)" ]

Powered by Google App Engine
This is Rietveld 408576698