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

Unified Diff: mojo/public/bindings/tests/sample_service.mojom

Issue 164873002: Fix bug with using enums as default values in mojom. We were previously (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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/bindings/tests/sample_service.mojom
diff --git a/mojo/public/bindings/tests/sample_service.mojom b/mojo/public/bindings/tests/sample_service.mojom
index 0a15257c9ceb59f11f3f96410ea02a40b0e1674d..7bdd1716b6be3506c8694651b1c0eb8f213d46b4 100644
--- a/mojo/public/bindings/tests/sample_service.mojom
+++ b/mojo/public/bindings/tests/sample_service.mojom
@@ -48,7 +48,7 @@ struct DefaultsTest {
uint8[] data = [1, 2, 3] @2;
imported.Point point = {7, 15} @3;
int32[] shape_masks = [1 << imported.SHAPE_RECTANGLE] @4;
- imported.Thing thing = {imported.SHAPE_RECTANGLE, imported.COLOR_RED};
+ imported.Thing thing = {imported.SHAPE_CIRCLE, imported.COLOR_BLACK};
};
interface Port {
« no previous file with comments | « mojo/public/bindings/tests/sample_import2.mojom ('k') | mojo/public/bindings/tests/sample_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698