Index: mojo/examples/window_manager/window_manager.cc |
diff --git a/mojo/examples/window_manager/window_manager.cc b/mojo/examples/window_manager/window_manager.cc |
index a96becea6e640b0c835265b296afa09e7c10eb60..52189e1bd2dfdbbfb11f39c45f200abebd766376 100644 |
--- a/mojo/examples/window_manager/window_manager.cc |
+++ b/mojo/examples/window_manager/window_manager.cc |
@@ -137,7 +137,13 @@ class WindowManager : public Application, |
size_t index = node->children().size() - 1; |
details->url = base::StringPrintf( |
"%s/%x", kEmbeddedAppURL, kColors[index % arraysize(kColors)]); |
- navigator->Navigate(embedded->id(), details.Pass()); |
+ |
+ // TODO(beng): remove once nullable parameters land. |
+ navigation::ResponseDetailsPtr response_details( |
+ navigation::ResponseDetails::New()); |
+ navigator->Navigate(embedded->id(), |
+ details.Pass(), |
+ response_details.Pass()); |
} |
} |