Index: chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc |
diff --git a/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc b/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc |
index 8a961aaeb1d23bfaf98f1cb3e2b6be62ea7db28d..67f25f3575614ee74dbf5950df4a1f7ebbeae4b4 100644 |
--- a/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc |
+++ b/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc |
@@ -71,7 +71,13 @@ PrivetHTTPAsynchronousFactoryImpl::ResolutionImpl::~ResolutionImpl() { |
} |
void PrivetHTTPAsynchronousFactoryImpl::ResolutionImpl::Start() { |
+#if defined(OS_MACOSX) |
+ // MAC already has IP there. |
+ callback_.Run(scoped_ptr<PrivetHTTPClient>( |
+ new PrivetHTTPClientImpl(name_, hostport_, request_context_.get()))); |
+#else |
resolver_->Start(); |
+#endif |
} |
const std::string& |