Index: mojo/examples/wget/wget.cc |
diff --git a/mojo/examples/wget/wget.cc b/mojo/examples/wget/wget.cc |
index 09c4f7be8849f620fd494f247ace47a8f39cb2c5..1efaa2d71ff85db5209f0d156f50c565f54d11fa 100644 |
--- a/mojo/examples/wget/wget.cc |
+++ b/mojo/examples/wget/wget.cc |
@@ -76,8 +76,8 @@ class WGetApp : public ApplicationDelegate { |
} |
private: |
- void Start(const Array<String>& args) { |
- std::string url((args.size() > 1) ? args[1].get() : PromptForURL()); |
+ void Start(const std::vector<std::string>& args) { |
+ std::string url((args.size() > 1) ? args[1] : PromptForURL()); |
printf("Loading: %s\n", url.c_str()); |
network_service_->CreateURLLoader(GetProxy(&url_loader_)); |