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

Unified Diff: third_party/WebKit/Source/platform/mojo/CommonCustomTypes.typemap

Issue 2464793004: Mojo C++ bindings: some improvements for String16 struct traits. (Closed)
Patch Set: . Created 4 years, 1 month 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: third_party/WebKit/Source/platform/mojo/CommonCustomTypes.typemap
diff --git a/third_party/WebKit/Source/platform/mojo/CommonCustomTypes.typemap b/third_party/WebKit/Source/platform/mojo/CommonCustomTypes.typemap
index 79cc803077836cc1ed064e192ee16c9a3a163eef..3c3b1bb8833b237dc35ecacf6144dd26613451cf 100644
--- a/third_party/WebKit/Source/platform/mojo/CommonCustomTypes.typemap
+++ b/third_party/WebKit/Source/platform/mojo/CommonCustomTypes.typemap
@@ -8,4 +8,5 @@ traits_headers = [ "//third_party/WebKit/Source/platform/mojo/CommonCustomTypesS
deps = [
"//mojo/public/cpp/bindings",
]
-type_mappings = [ "mojo.common.mojom.String16=::WTF::String" ]
+type_mappings =
+ [ "mojo.common.mojom.String16=WTF::String[nullable_is_same_type]" ]

Powered by Google App Engine
This is Rietveld 408576698