| Index: net/proxy/proxy_resolver_v8.cc
|
| diff --git a/net/proxy/proxy_resolver_v8.cc b/net/proxy/proxy_resolver_v8.cc
|
| index 4b54cb79d80a8ad1c2e0a4d64c2099ac1faa7260..6e346c77a6e4a74f6ec2b5f1fdc136d30afe4a47 100644
|
| --- a/net/proxy/proxy_resolver_v8.cc
|
| +++ b/net/proxy/proxy_resolver_v8.cc
|
| @@ -413,7 +413,7 @@ class ProxyResolverV8::Context {
|
|
|
| // We need at least one string argument.
|
| std::string hostname;
|
| - if (!GetHostnameArgument(args, &hostname))
|
| + if (!GetHostnameArgument(args, &hostname) || hostname.empty())
|
| return v8::Null();
|
|
|
| std::string ip_address;
|
|
|