Fix GURL coonstructor from webkit string error

This commit is contained in:
Brian R. Bondy 2016-04-28 10:02:05 -04:00 committed by Cheng Zhao
parent 48e62ac0b5
commit 22863b9f31

View file

@ -137,7 +137,8 @@ void GetCookiesOnIO(scoped_refptr<net::URLRequestContextGetter> getter,
if (url.empty())
GetCookieStore(getter)->GetAllCookiesAsync(filtered_callback);
else
GetCookieStore(getter)->GetAllCookiesForURLAsync(GURL(url), filtered_callback);
GetCookieStore(getter)->GetAllCookiesForURLAsync(GURL(url),
filtered_callback);
}
// Removes cookie with |url| and |name| in IO thread.