From: Sanghyup Lee Date: Mon, 11 Sep 2017 07:58:24 +0000 (+0900) Subject: Set proxy service to avoid crash X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F55%2F148955%2F4;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Set proxy service to avoid crash This patch sets proxy service with |CreateUsingSystemProxyResolver| refer to |URLRequestContextGetterEfl| to avoid crash. Change-Id: I5846117c5ea1d193c0d238a11a5235dfd7d2ea64 Signed-off-by: Sanghyup Lee --- diff --git a/vendor/brightray/browser/url_request_context_getter.cc b/vendor/brightray/browser/url_request_context_getter.cc index 2da99e1..fd23b4b 100644 --- a/vendor/brightray/browser/url_request_context_getter.cc +++ b/vendor/brightray/browser/url_request_context_getter.cc @@ -235,7 +235,12 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() { storage_->set_proxy_service(net::ProxyService::CreateFixed( proxy_config)); } else { -#if !defined(USE_EFL) +#if defined(USE_EFL) + storage_->set_proxy_service( + net::ProxyService::CreateUsingSystemProxyResolver( + std::move(proxy_config_service_), 0, + url_request_context_->net_log())); +#else storage_->set_proxy_service( net::CreateProxyServiceUsingV8ProxyResolver( std::move(proxy_config_service_),