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

Unified Diff: shell/shell_apptest.cc

Issue 1375313006: For c++, Generate enum classes instead of enum from mojom. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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: shell/shell_apptest.cc
diff --git a/shell/shell_apptest.cc b/shell/shell_apptest.cc
index 931cc4d61548c110598056110a4508b9eb9efdf3..e1ffb3c28b13feaaee40d42a7fda93b3658368cc 100644
--- a/shell/shell_apptest.cc
+++ b/shell/shell_apptest.cc
@@ -80,7 +80,7 @@ class ShellHTTPAppTest : public ShellAppTest {
&http_server_factory_);
mojo::NetAddressPtr local_address(mojo::NetAddress::New());
- local_address->family = mojo::NET_ADDRESS_FAMILY_IPV4;
+ local_address->family = mojo::NetAddressFamily::IPV4;
local_address->ipv4 = mojo::NetAddressIPv4::New();
local_address->ipv4->addr.resize(4);
local_address->ipv4->addr[0] = 127;

Powered by Google App Engine
This is Rietveld 408576698