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

Unified Diff: skia/public/interfaces/skbitmap.typemap

Issue 2179273002: Mojo C++ bindings: support mapping T and T? differently. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
« no previous file with comments | « services/ui/ws/window_tree.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/public/interfaces/skbitmap.typemap
diff --git a/skia/public/interfaces/skbitmap.typemap b/skia/public/interfaces/skbitmap.typemap
index df9d171930a38e060dd7c904527592f251a852f8..3d6b7aafaf823489755a96f86c4cddd0e3a5d095 100644
--- a/skia/public/interfaces/skbitmap.typemap
+++ b/skia/public/interfaces/skbitmap.typemap
@@ -5,7 +5,13 @@
mojom = "//skia/public/interfaces/bitmap.mojom"
public_headers = [ "//third_party/skia/include/core/SkBitmap.h" ]
traits_headers = [ "//skia/public/interfaces/bitmap_skbitmap_struct_traits.h" ]
-sources = [ "//skia/public/interfaces/bitmap_skbitmap_struct_traits.cc" ]
-deps = [ "//mojo/public/cpp/bindings" ]
-public_deps = [ "//skia" ]
-type_mappings = [ "skia.mojom.Bitmap=SkBitmap" ]
+sources = [
+ "//skia/public/interfaces/bitmap_skbitmap_struct_traits.cc",
+]
+deps = [
+ "//mojo/public/cpp/bindings",
+]
+public_deps = [
+ "//skia",
+]
+type_mappings = [ "skia.mojom.Bitmap=SkBitmap[nullable_is_same_type]" ]
« no previous file with comments | « services/ui/ws/window_tree.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698