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

Unified Diff: mojo/public/interfaces/bindings/tests/test_structs.mojom

Issue 469393004: Mojo: Add warning of invalid serialization results (in debug build). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/interfaces/bindings/tests/test_structs.mojom
diff --git a/mojo/public/interfaces/bindings/tests/test_structs.mojom b/mojo/public/interfaces/bindings/tests/test_structs.mojom
index cf91161fbd5d12bf6c40f5cade05612798073469..8bc33b367288d8261ba53e1ed7321921fe945d7d 100644
--- a/mojo/public/interfaces/bindings/tests/test_structs.mojom
+++ b/mojo/public/interfaces/bindings/tests/test_structs.mojom
@@ -13,13 +13,13 @@ struct Rect {
};
struct NamedRegion {
- string name;
- Rect[] rects;
+ string? name;
+ Rect[]? rects;
};
struct RectPair {
- Rect first;
- Rect second;
+ Rect? first;
+ Rect? second;
};
}

Powered by Google App Engine
This is Rietveld 408576698